function for easy ssh access (mainly clone) for gitea with specific port
This commit is contained in:
parent
01a9ccce12
commit
9c224ef8af
@ -17,3 +17,9 @@ alias nnn='nnn -dHrR'
|
|||||||
alias nn='n -dHrR'
|
alias nn='n -dHrR'
|
||||||
alias finds='find $* 2>/dev/null'
|
alias finds='find $* 2>/dev/null'
|
||||||
alias c='clear'
|
alias c='clear'
|
||||||
|
|
||||||
|
|
||||||
|
gitea () {
|
||||||
|
# --local is default and thus implied
|
||||||
|
git --config core.sshCommand="ssh -p 222" $@
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user