aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-02-16 11:17:38 +0100
committerMathias Bynens <mathias@qiwi.be>2012-02-16 11:17:38 +0100
commit3ba08cb6e2b7a7b4b3ef74b23de41132c3a0c850 (patch)
tree10d2f94992644fafb17963978e79d86535cdd6a8
parent5680325e8fd364e30e4a9b7bbc27c4b28cdfd56d (diff)
downloaddotfiles-3ba08cb6e2b7a7b4b3ef74b23de41132c3a0c850.tar.gz
dotfiles-3ba08cb6e2b7a7b4b3ef74b23de41132c3a0c850.tar.bz2
dotfiles-3ba08cb6e2b7a7b4b3ef74b23de41132c3a0c850.zip
.gitconfig: Add `c` alias which clones a repository including all submodules
-rw-r--r--.gitconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index 494a84a..b8273c2 100644
--- a/.gitconfig
+++ b/.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