How to move a branch to point to another commit? #3516
Unanswered
shauryagoel
asked this question in
Q&A
Replies: 1 comment 2 replies
-
If it's to a specific branch, try pressing |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to move a branch to point to another commit. On the CLI, I use
git branch -f <branch> <commit_id>
.Beta Was this translation helpful? Give feedback.
All reactions