[fix] Remove some redundant stuff and add stuff for macos

This commit is contained in:
Uttarayan Mondal
2022-11-21 16:30:05 +05:30
parent 9f1af0fe14
commit 01c1b052ca
23 changed files with 576 additions and 35 deletions

View File

@@ -0,0 +1,13 @@
function ga --argument-names source target --description "Check how much ahead a git branch is from another"
if test -z "$source"
echo "Usage: ga source target"
return 1
end
if test -z "$target"
set target (git rev-parse --abbrev-ref HEAD)
end
echo "$source"\t"$target"
git rev-list --left-right --count "$source"..."$target"
end