Skip to content

Commit

Permalink
git: add checkout main and clean-branches aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusvellone committed May 27, 2021
1 parent 3d31ce5 commit 175abea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions git/.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
conflict = mergetool
cc = checkout
ccm = checkout master
ccmn = checkout main
ccb = checkout -b
cf = clean -f -d
cp = checkout -p
Expand Down Expand Up @@ -43,6 +44,7 @@
sl = stash list
sp = stash pop
st = stash
clean-branches = "!git branch -vv | grep 'origin/.*: gone]' | awk '{print $1}' | xargs git branch -D"
ignore = "!gi() { curl -sL https://www.gitignore.io/api/$@ ;}; gi"
[user]
email = [email protected]
Expand Down

0 comments on commit 175abea

Please sign in to comment.