init .config git tracking
This commit is contained in:
commit
114c330966
151 changed files with 4688 additions and 0 deletions
8
config/fish/functions/__git.develop_branch.fish
Normal file
8
config/fish/functions/__git.develop_branch.fish
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
function __git.develop_branch -d "Use develop if it exists. Falls back to dev"
|
||||
command git rev-parse --git-dir &>/dev/null; or return
|
||||
if command git show-ref -q --verify refs/heads/develop
|
||||
echo develop
|
||||
else
|
||||
echo dev
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue