diff options
author | mediocregopher <mediocregopher@gmail.com> | 2023-08-15 18:42:49 +0200 |
---|---|---|
committer | mediocregopher <mediocregopher@gmail.com> | 2023-08-15 18:42:49 +0200 |
commit | f19039269260c61cd6471b8a4341764ce48dc96d (patch) | |
tree | a007b135f040ba6e2ac3ac8980db25dd6fa56dc8 /base/gitconfig | |
parent | 8af64936804d4493022385980212aaae73197ab0 (diff) |
Fix typo in main-branch git alias
Diffstat (limited to 'base/gitconfig')
-rw-r--r-- | base/gitconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gitconfig b/base/gitconfig index 90bcbf8..b4cd420 100644 --- a/base/gitconfig +++ b/base/gitconfig @@ -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 |