Skip to content

Instantly share code, notes, and snippets.

@omarrodriguez15
Last active July 18, 2019 21:51
Show Gist options
  • Select an option

  • Save omarrodriguez15/08be0221ba3b211936fed62768f0b8c4 to your computer and use it in GitHub Desktop.

Select an option

Save omarrodriguez15/08be0221ba3b211936fed62768f0b8c4 to your computer and use it in GitHub Desktop.
During a rebase edit the commit you will be squashing into and run the following to update the date with the current date time
git commit --amend --no-edit --date "$(date)"
or
git commit --amend --reset-author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment