mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Add bareinit git alias
This commit is contained in:
parent
e87a2eb781
commit
eb784ab056
|
@ -5,6 +5,7 @@
|
||||||
[alias]
|
[alias]
|
||||||
quickclone = "clone --single-branch --depth=1"
|
quickclone = "clone --single-branch --depth=1"
|
||||||
bareclone = "!sh -c 'git clone --bare \"$0\" \"$1\"/.bare; echo \"gitdir: ./.bare\" > \"$1/.git\"'"
|
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"
|
m = "merge"
|
||||||
p = "push"
|
p = "push"
|
||||||
|
|
Loading…
Reference in a new issue