Update git-branch.md
This commit is contained in:
parent
b81b7b73c9
commit
85ed8e15aa
|
|
@ -80,7 +80,7 @@ git reset --hard
|
|||
### Undo commits to a specific commit
|
||||
|
||||
```bash
|
||||
git reset --hard $commitID
|
||||
git reset --hard $commit_id
|
||||
|
||||
# Now push to your branch
|
||||
git push --force
|
||||
|
|
|
|||
Loading…
Reference in New Issue