Skip to content

Commit

Permalink
.gitconfig: exclude submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens authored Apr 9, 2024
1 parent 66ba9b3 commit b7c7894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
c = clone --recursive

# Commit all changes.
ca = !git add -A && git commit -av
ca = !git add ':(exclude,attr:builtin_objectmode=160000)' && git commit -av

# Switch to a branch, creating it if necessary.
go = "!f() { git checkout -b \"$1\" 2> /dev/null || git checkout \"$1\"; }; f"
Expand Down

0 comments on commit b7c7894

Please sign in to comment.