Today I Learned

TIL, 2022-07-09, Git push to certain commits

  • Git push up to a certain commit Reference
    • git push origin COMMIT_HASH:BRANCH_NAME if the branch exists already.
    • git push origin COMMIT_HASH:refs/heads/BRANCH_NAME if the branch doesn’t exist yet.
  • Git diff diff-filter AMC.

This project is maintained by daryllxd