摘要: gitdir=$(git rev-parse --git-dir); scp -p -O -P 29418 donghao@100.0.0.0:hooks/commit-msg ${gitdir}/hooks/ scp参数 -p 该参数用于保留源文件的修改时间、访问时间和权限 -P 29418 指定 阅读全文
posted @ 2024-05-13 11:17 东岸 阅读(57) 评论(0) 推荐(0)