1
0
mirror of https://github.com/k88hudson/git-flight-rules.git synced 2025-06-17 05:21:35 -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

@ -807,7 +807,7 @@ $ git reset --hard c5bc55a
Один из способов сбросить до источника (чтобы иметь то же, что и в удаленном репозитории):
```sh
(main)$ git reset --hard origin/my-branch
(my-branch)$ git reset --hard origin/my-branch
```
<a name="commit-wrong-branch"></a>