Add gitignore.io function and alias
This commit is contained in:
parent
165d45c882
commit
f75cafa09a
2 changed files with 5 additions and 0 deletions
1
.aliases
1
.aliases
|
@ -22,6 +22,7 @@ alias gcm="echo Do not specify message at command line. Use gc"
|
|||
alias gco="git checkout"
|
||||
alias gd="git diff"
|
||||
alias gfl="git log --patch"
|
||||
alias gi="gitignore-io"
|
||||
alias gl="git log"
|
||||
alias gh="git hist"
|
||||
alias ghd="git hist-details"
|
||||
|
|
|
@ -27,3 +27,7 @@ function map-sshfs {
|
|||
sshfs -o idmap=user -o workaround=rename $USER'@'$1':'$2 $HOME'/Mounts/'$3
|
||||
fi
|
||||
}
|
||||
|
||||
function gitignore-io {
|
||||
curl http://www.gitignore.io/api/$@
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue