git时的一些参数

  • stash your current change or
  • reset --hard HEAD (if you do not mind losing those minor changes) or
  • checkout -f (When switching branches, proceed even if the index or the working tree differs from HEAD. This is used to throw away local changes. )
posted on 2011-02-09 17:22  刘誉儿  阅读(357)  评论(0编辑  收藏  举报