From 3ba08cb6e2b7a7b4b3ef74b23de41132c3a0c850 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Thu, 16 Feb 2012 11:17:38 +0100 Subject: .gitconfig: Add `c` alias which clones a repository including all submodules --- .gitconfig | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3