Add bareinit git alias

This commit is contained in:
ItsDrike 2022-02-11 18:28:25 +01:00
parent e87a2eb781
commit eb784ab056
No known key found for this signature in database
GPG key ID: B014E761034AF742

View file

@ -5,6 +5,7 @@
[alias]
quickclone = "clone --single-branch --depth=1"
bareclone = "!sh -c 'git clone --bare \"$0\" \"$1\"/.bare; echo \"gitdir: ./.bare\" > \"$1/.git\"'"
bareinit = "!sh -c 'git init --bare \"$0\"/.bare; echo \"gitdir: ./.bare\" > \"$0/.git\"'"
m = "merge"
p = "push"