Last active
October 21, 2021 01:54
-
-
Save crissilvaeng/2d05ed359debcc64671326ceebf3a162 to your computer and use it in GitHub Desktop.
Git Aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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