首页 > 其他 > 详细

git 常用操作

时间:2016-05-23 14:59:28      阅读:110      评论:0      收藏:0      [点我收藏+]

git 

如何查看git项目在哪个路径下

git remote -v

 

 

//查看当前仓库执行过的操作的日志

git reflog

 

 

 

//初始化git

git init

 

//合并多个(2个或2个以上)commit

git rebase -i HEAD~4

 

pick b3d29ba tmp

fixup dd3631b test12

pick 84dd3e3 test1

fixup 331288a test2

 

 

//放弃rebase操作

git rebase —abort

 

https://github.com/renyangli1/Hello-world

git 常用操作

原文:http://www.cnblogs.com/ron123/p/5519810.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!