Skip to content

Commit

Permalink
.gitconfig: Add c alias which clones a repository including all sub…
Browse files Browse the repository at this point in the history
…modules
  • Loading branch information
mathiasbynens authored and dndhm committed Nov 11, 2021
1 parent c45eb31 commit e240d8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
s = status -s
# Pull in remote changes for the current repository and all its submodules
p = !"git pull; git submodule foreach git pull origin master"
# Clone a repository including all submodules
c = clone --recursive
# Commit all changes
ca = commit -a
# Switch to a branch, creating it if necessary
Expand Down

0 comments on commit e240d8f

Please sign in to comment.