git: turn start
alias into a separate executable
This commit is contained in:
parent
cb201df3d2
commit
c400c8fffd
2 changed files with 7 additions and 1 deletions
7
bin/git-start
Executable file
7
bin/git-start
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Initialize a git repository and automatically create an empty root commit.
|
||||||
|
# NOTE: requires the `l` alias to be defined (see .gitconfig)
|
||||||
|
|
||||||
|
git init && git commit --allow-empty -m "Initial commit" && git l
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
lla = ll --all
|
lla = ll --all
|
||||||
s = status --short
|
s = status --short
|
||||||
ss = status
|
ss = status
|
||||||
start = !git init && git commit --allow-empty -m \"Initial commit\" && git l
|
|
||||||
|
|
||||||
[pretty]
|
[pretty]
|
||||||
basic = %C(auto)%h%d %s %C(8) %ad
|
basic = %C(auto)%h%d %s %C(8) %ad
|
||||||
|
|
Loading…
Add table
Reference in a new issue