04 2019 档案

git相关
摘要:1.checkout与reset的区别: checkout是从index缓存区刷到工作区,如果已经commit,就先用reset--mixed,再用checkout,或者直接用reset--hard,不加--版本号,就是切换分支。 reset有三种方式:soft,mixed,hard; hard:调 阅读全文

posted @ 2019-04-25 11:08 3池 阅读(82) 评论(0) 推荐(0)

导航