1. git reset —hard origin/xxx
# 将远程分支 完全覆盖到本地
2. cherry-Pick
# 将其他分支单独提交的一次代码 合并到 当前分支
# idea使用:打开git提交记录,选择提交的代码,右键点击cherry-Pick
01
29
git使用记录
分享到: