Fix typo in main-branch git alias

This commit is contained in:
mediocregopher 2023-08-15 18:42:49 +02:00
parent 8af6493680
commit f190392692

View File

@ -7,7 +7,7 @@
[alias]
# main-branch outputs 'main' if there is a main branch, otherwise it outputs
# 'master'
main-branch = "!if git rev-parse --verify main 2>1 >/dev/null; then echo 'main'; else echo 'master'; fi"
main-branch = "!if git rev-parse --verify main 2>&1 >/dev/null; then echo 'main'; else echo 'master'; fi"
#Shows diff in log
ll = log --stat --abbrev-commit