摘要: 一.脚本下载 init.sh #!/bin/bash cd code for dir in $(ls) do cd $dir git config --local receive.denycurrentbranch ignore echo $dir cd .. done gitShare.sh #! 阅读全文
posted @ 2020-03-26 21:34 Lunais 阅读(163) 评论(0) 推荐(0) 编辑
摘要: git本地共享的时候,客户端可以用。 1. git log //找到commit的版本号 2.git reset --hard <版本号> //撤回到需要的版本 3.git push --force //强制覆盖之前提交的版本 阅读全文
posted @ 2020-03-26 21:25 Lunais 阅读(479) 评论(0) 推荐(0) 编辑