For The Best Thing In The World

Work Hard to Enjoy Them. bloom energy

git push force以后方便的pull

以前用git 不是非常优雅, 经常用git push -f, 然后在别的地方更新时就会出现conflict,然后要很麻烦的手动处理。 最近找到了比较一个优雅的方法:

git fetch origin
git reset --hard origin/master