首页 > 其他 > 详细

git rebase

时间:2019-01-17 14:52:24      阅读:162      评论:0      收藏:0      [点我收藏+]

check git status

  • git status
  • git log --oneline
  • git reflog
  • git remote -vv
  • git branch

reset special version

  • git reset --hard {version_number}

push to origin (new changes includes file_add/modify and branch_new/delete)

  • git push -u upstream test_ceiling_timeout

rebase

  • git rebase -i HEAD~2
  • modify commands, and wq!
  • modify commit message, and wq!
  • git add .
  • git rebase --continue
  • git push --force -u upstream test_ceiling_timeout

git rebase

原文:https://www.cnblogs.com/vivivi/p/10281863.html

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