git alaises are better
This commit is contained in:
parent
2bdfa681f4
commit
c5b0843a42
2 changed files with 1 additions and 5 deletions
|
@ -28,6 +28,7 @@ defaultBranch = main
|
||||||
autosetuprebase = always
|
autosetuprebase = always
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
|
ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi"
|
||||||
root = rev-parse --show-toplevel
|
root = rev-parse --show-toplevel
|
||||||
adog = log --all --decorate --oneline --graph
|
adog = log --all --decorate --oneline --graph
|
||||||
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold magenta)%h%C(reset) ->%C(bold yellow)%d%C(reset) %C(white)%s%C(reset) %C(green)(%ar)%C(reset) %C(dim white)- %an%C(reset)' --all
|
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold magenta)%h%C(reset) ->%C(bold yellow)%d%C(reset) %C(white)%s%C(reset) %C(green)(%ar)%C(reset) %C(dim white)- %an%C(reset)' --all
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
#!/usr/bin/env zsh
|
|
||||||
##? use toptal.com api to generate gitignore file
|
|
||||||
|
|
||||||
curl -sL "https://www.toptal.com/developers/gitignore/api/$@"
|
|
||||||
|
|
Loading…
Reference in a new issue