Skip to content

Commit

Permalink
master->main
Browse files Browse the repository at this point in the history
  • Loading branch information
fbartho committed May 6, 2021
1 parent 7c2e52a commit b86c9d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
signingkey = 9D2B3E7C1526516EE90FAF126FF43C49A5D473EF
[branch]
autosetupmerge = true
[pull]
rebase = false
[alias]
st = status
co = checkout
Expand All @@ -18,7 +20,7 @@
# x = !open -a /Users/fbarthelemy/Code/gitx/build/Debug/GitX.app .
vn = !"cat submodules/narwhal/build/Current/NGCore/Client/Core/Capabilities.js | grep \"this._fields = \" | awk '{gsub(/'\"'\"'g*};|'\"'\"'g/,\"\")}{print $8}'"
conar = !"git co `git vn`"
cleanup = !"git reflog expire --expire=1.minute refs/heads/master; git fsck --unreachable && git prune && git gc"
cleanup = !"git reflog expire --expire=1.minute refs/heads/main; git fsck --unreachable && git prune && git gc"
current = !"git rev-parse --abbrev-ref HEAD"
currentpb = !"git current | tr -d '\n' | pbcopy"
pa = pushall
Expand All @@ -27,7 +29,7 @@
git = !git
gst = status
gofmt = !git status --porcelain | sed -E "'s( [A-Z] (./('" | grep ".go$" | xargs -n1 go fmt
bclean = "!f() { git branch --merged ${1-master} | grep -v " ${1-master}$" | xargs -n 1 git branch -d; }; f"
bclean = "!f() { git branch --merged ${1-main} | grep -v " ${1-main}$" | xargs -n 1 git branch -d; }; f"
apply-gitignore = !git ls-files -ci --exclude-standard -z | xargs -0 git rm --cached
split = !git-split
showlocal = !git-showlocal
Expand Down

0 comments on commit b86c9d5

Please sign in to comment.