Skip to content

Instantly share code, notes, and snippets.

@crissilvaeng
Last active October 21, 2021 01:54
Embed
What would you like to do?
Git Aliases
close = !sh -c 'git branch -d $1' -
local = rev-parse --abbrev-ref HEAD
swap = !sh -c 'git switch -c $1 --track origin/\"$(git local)\"' -
sync = pull --rebase --autostash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment