Skip to content

Commit 8c086c9

Browse files
committed
fix: fix count commit alias
1 parent 83d763a commit 8c086c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ remotes = remote -v
5252
amend = commit --amend --reuse-message=HEAD
5353

5454
# Count commits on a given branch since branching off another branche (defaults to main)
55-
count-since-branch = "!c() { git rev-list ${1:-\"main\"}.. --count; } c"
55+
count-since-branch = "!c() { git rev-list ${1:-\"main\"}.. --count; }; c"
5656

5757
# Credit an author on the latest commit
5858
credit = "!f() { git commit --amend --author \"$1 <$2>\" -C HEAD; }; f"

0 commit comments

Comments
 (0)