function for easy ssh access (mainly clone) for gitea with specific port

This commit is contained in:
fabian 2022-05-01 20:49:31 +02:00
parent 01a9ccce12
commit 9c224ef8af

View File

@ -17,3 +17,9 @@ alias nnn='nnn -dHrR'
alias nn='n -dHrR'
alias finds='find $* 2>/dev/null'
alias c='clear'
gitea () {
# --local is default and thus implied
git --config core.sshCommand="ssh -p 222" $@
}