Linux: Git

指定ssh密钥文件

git_addr='[email protected]:group1/ops.git'
tmp_path='~/.jasper/jenkinsfile'

git config core.sshCommand "ssh -i ${tmp_path}/id_rsa"  #更换key
git clone -c "core.sshCommand=ssh -i ${tmp_path}/id_rsa" $git_addr #克隆指定

协议替换

git config --global url."https://".insteadOf git://
emacs

Emacs

org-mode

Orgmode

Donations

打赏

Copyright

© 2025 Jasper Hsu

Creative Commons

Creative Commons

Attribute

Attribute

Noncommercial

Noncommercial

Share Alike

Share Alike