binperson / blog

personal blog 😍
Apache License 2.0
0 stars 0 forks source link

git stash || git stash pop #14

Open binperson opened 6 years ago

binperson commented 6 years ago

https://blog.csdn.net/jtracydy/article/details/75665638

binperson commented 6 years ago

git回退到之前的版本

git log

# git reset --hard  208f8823cfa895b973b676cba1bc86d3109447e6

git push origin <分支名> --force
binperson commented 6 years ago

合并分支到master上

git checkout master
git pull origin master
git merge dev
git push origin master