summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/git/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/git/config b/config/git/config
index 3a67355..c08907e 100644
--- a/config/git/config
+++ b/config/git/config
@@ -33,6 +33,7 @@
rv = checkout -p
stashed = stash list --pretty=format:'%<(10)%gd: %Cred%h%Creset %Cgreen(%ar)%Creset%n %s'
st = status -sb
+ start = "!f() { git commit --allow-empty -m 'initial commit' && git add . && git commit -m 'project skeleton'; }; f"
track = "!f() { local name=$(git name-rev --name-only @); git branch --set-upstream-to=origin/$name $name; }; f"
[github]
user = doy