-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git: add checkout main and clean-branches aliases
- Loading branch information
1 parent
3d31ce5
commit 175abea
Showing
1 changed file
with
2 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
conflict = mergetool | ||
cc = checkout | ||
ccm = checkout master | ||
ccmn = checkout main | ||
ccb = checkout -b | ||
cf = clean -f -d | ||
cp = checkout -p | ||
|
@@ -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] | ||
|