Skip to content

Instantly share code, notes, and snippets.

@asbiin
Created March 2, 2021 14:55
Show Gist options
  • Select an option

  • Save asbiin/2597dfa9579880c07b67e372b3d99fa9 to your computer and use it in GitHub Desktop.

Select an option

Save asbiin/2597dfa9579880c07b67e372b3d99fa9 to your computer and use it in GitHub Desktop.
Git tips
# Edit date of a commit
GIT_COMMITTER_DATE="$(date)" git commit --amend --no-edit --date "$(date)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment