thieumao

Git

Mar 15th, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. Đồng bộ branch của local và remote
  2. git fetch origin -p
  3. Xóa nhánh
  4. git branch -D <tên nhánh>
  5. Reset nhánh
  6. git reset HEAD@{mã}
  7. Xem reflog
  8. git reflog -v -> ra mã để dùng ở 3
  9. Reset 1 nhánh về commit của develop
  10. git reset --hard develop
  11. Tổng quát :
  12. git reset --hard < tên nhánh >
Advertisement
Add Comment
Please, Sign In to add comment