摘要:
1种方法使用ssh-copy-id -i ~/.ssh/id_rsa.pub 用户@目标机器 密码 2种方法, 拷贝ssh pub key到目标机器, 添加到 ~/.ssh/authorized_keys中 cat id_rsa.pub >>~/.ssh/authorized_keys 阅读全文
posted @ 2020-06-18 11:15
一只老鼠
阅读(120)
评论(0)
推荐(0)
摘要:
首先需要设置 git config core.filemode false 然后对需要的文件增加执行权限 git update-index --chmod=+x foo.sh 再签入 阅读全文
posted @ 2020-06-18 11:13
一只老鼠
阅读(386)
评论(0)
推荐(0)