diff options
author | Jesse Luehrs <doy@tozt.net> | 2020-06-08 23:42:30 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2020-06-08 23:42:30 -0400 |
commit | 16ba00fb2fdb84a433f4be5ee24bb6af2b9bc28e (patch) | |
tree | 1fa3e13c0ea8eb3cfc614b69baeb4b721366e113 | |
parent | eb82836e5f2972c7a9bf8982af987b645140fc40 (diff) | |
download | conf-16ba00fb2fdb84a433f4be5ee24bb6af2b9bc28e.tar.gz conf-16ba00fb2fdb84a433f4be5ee24bb6af2b9bc28e.zip |
add alias for git start
-rw-r--r-- | config/git/config | 1 |
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 |