Skip to content

Instantly share code, notes, and snippets.

@13x1
Created August 28, 2023 02:19
Show Gist options
  • Save 13x1/3a7deb1c31d093b25c251b8dd8281973 to your computer and use it in GitHub Desktop.
Save 13x1/3a7deb1c31d093b25c251b8dd8281973 to your computer and use it in GitHub Desktop.
putting it here so i dont forget: git rebase to sign past commits
git_sign_since() {
git -c rebase.instructionFormat='%s%nexec GIT_COMMITTER_DATE="%cD" git commit --amend --date="%cD" --no-edit --no-verify -S' rebase -i $1
}
@13x1
Copy link
Author

13x1 commented Sep 8, 2023

THANK YOUUUUU

@13x1
Copy link
Author

13x1 commented Sep 24, 2023

THANK YOU SOOO MUCH

also you can append --author="blah blah" to change authors too

@13x1
Copy link
Author

13x1 commented Oct 3, 2023

THANK YOU SOOO MUCH

also you can append --author="blah blah" to change authors too

thank you SO MUCH omg

@13x1
Copy link
Author

13x1 commented Nov 9, 2023

THANK YOU I FUCKED IT UP BIG TIME BUT IT STILL HELPS

@13x1
Copy link
Author

13x1 commented Dec 23, 2023

THANK YOU SO MUCH omfg

@13x1
Copy link
Author

13x1 commented Feb 18, 2024

thank you github gist for replacing my missing brain cells

@13x1
Copy link
Author

13x1 commented Mar 17, 2024

THANK UUUU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment