Skip to content

Instantly share code, notes, and snippets.

@akserikawa
Last active April 28, 2020 08:19
Show Gist options
  • Save akserikawa/fe8a31e1b5a79c6b324894e10037e633 to your computer and use it in GitHub Desktop.
Save akserikawa/fe8a31e1b5a79c6b324894e10037e633 to your computer and use it in GitHub Desktop.
Git Tips
# Update one commit date, so it gets processed as new
git commit --amend --date="now"
git push origin {branch} --force
# Check diverged commits between local and remote branch
git log HEAD..origin/staging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment