Skip to content

Instantly share code, notes, and snippets.

@jship
Created August 7, 2023 16:50
Show Gist options
  • Save jship/f4cf4c7493f568e09b542a9e34720836 to your computer and use it in GitHub Desktop.
Save jship/f4cf4c7493f568e09b542a9e34720836 to your computer and use it in GitHub Desktop.
Set git author and commit dates for all stg patches
for p in $(stg series -P); do stg edit --authdate "$(date '+%Y-%m-%d %H:%M:%S %z')" --committer-date-is-author-date "$p"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment