From 16ba00fb2fdb84a433f4be5ee24bb6af2b9bc28e Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 8 Jun 2020 23:42:30 -0400 Subject: add alias for git start --- config/git/config | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3