📌  相关文章
📜  git sync 分支 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:00.451000             🧑  作者: Mango

代码示例1
git fetch origin
git reset --hard origin/master
git clean -f -d

#If you want to retain the changes as unstaged files, use --soft instead of --hard.
#WARNING: All your untracked files will be gone when you do git clean -f -d.