20
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 09 Oct 2026
20 points (88.5% liked)
Programming
28795 readers
170 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 3 years ago
MODERATORS
I'm not sure what you're trying to do here. But you can probably get out of this state with
Then your should pull from source again to make sure nothing weird is happening.
After that, if you're trying to rollback to a particular commit the command you probably want is
Which should drop all your local stuff and reset you straight to that commit.
git reset --hard commit_hashThis worked. Thanks.As a jr programmer with constant fish bowl brain, thanks for reminding of this.