Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

.gitconfig: Add `c` alias which clones a repository including all sub…

…modules
  • Loading branch information...
commit 3ba08cb6e2b7a7b4b3ef74b23de41132c3a0c850 1 parent 5680325
@mathiasbynens authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  .gitconfig
View
2  .gitconfig
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.