Update git com alias to checkout main instead of master
This commit is contained in:
parent
d4b2682829
commit
e8bd1b70cd
@ -30,7 +30,7 @@
|
||||
dmcw = diff master --color-words
|
||||
p = !git fetch --all
|
||||
sup = submodule update
|
||||
com = checkout master
|
||||
com = "!bash -c 'if [[ $(git rev-parse --verify main 2>/dev/null) ]] ; then git checkout main ; else git checkout master ; fi'"
|
||||
cod = checkout develop
|
||||
pod = push origin develop
|
||||
file = show --pretty="format:" --name-only
|
||||
|
||||
Loading…
Reference in New Issue
Block a user