1
0
mirror of https://github.com/k88hudson/git-flight-rules.git synced 2025-06-16 21:01:45 -03:00

Update info how to reset local branch to remote-tracking branch (#344)

This commit is contained in:
apastan
2023-02-01 05:17:42 +03:00
committed by GitHub
parent 3ff35c8642
commit 8413701f30
9 changed files with 10 additions and 11 deletions

View File

@ -852,7 +852,7 @@ Kiểm tra rằng bạn chưa push các thay đổi của mình đến server.
Một cách để reset về origin (để có nhánh giống như trên remote) là chạy lệnh:
```sh
(main)$ git reset --hard origin/my-branch
(my-branch)$ git reset --hard origin/my-branch
```
<a name="commit-wrong-branch"></a>