HOWTO: arc diff with the particular commit in the past

  • Create the branch via hash
    git branch preview 63c3ec098181b81e44a018e153de481c8ed5df7b
  • Switch to new branch
    git checkout preview
  • Checkout needed files from the original branch
    git checkout master test.js
  • Commit changes
    git commit -am "for arc diff"
  • arc diff --preview
  • Now you can delete this branch