Skip to content

Commit

Permalink
git current -- lookup current reference
Browse files Browse the repository at this point in the history
  • Loading branch information
fbartho committed Aug 20, 2019
1 parent b94a90f commit ea59d4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
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"
current = !"git rev-parse --abbrev-ref HEAD"
currentpb = !"git current | tr -d '\n' | pbcopy"
pa = pushall
pushall = !pushall
amend-reuse = commit --amend -C HEAD --reset-author
Expand Down

0 comments on commit ea59d4e

Please sign in to comment.