Skip to content

Instantly share code, notes, and snippets.

@jordanst3wart
Last active September 27, 2023 09:35
Show Gist options
  • Select an option

  • Save jordanst3wart/f07d78217f18d0d70b91bfb349964224 to your computer and use it in GitHub Desktop.

Select an option

Save jordanst3wart/f07d78217f18d0d70b91bfb349964224 to your computer and use it in GitHub Desktop.
# This is Git's per-user configuration file.
[user]
name = Jordan Stewart
email = redacted
[alias]
squash = "!f(){ git reset --soft $(git merge-base master $(git branch --show-current)) && git commit -m \"${1}\";};f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment