Well, the reset only moves which commit the branch is pointing to. The commit still exists. The force push does the same to the remote.
As long as that commit is still reachable from another tag or branch it will never be removed.
Even if it is unreachable, the commit can be recovered by creating a branch that points to it.
The commit can be found using the reflog or other commands which find unreachable commits.
Ty! We have a GIT master here.
Definitely not a master! Just someone who's read a lot of git related stackoverflow questions...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Well, the reset only moves which commit the branch is pointing to. The commit still exists. The force push does the same to the remote.
As long as that commit is still reachable from another tag or branch it will never be removed.
Even if it is unreachable, the commit can be recovered by creating a branch that points to it.
The commit can be found using the reflog or other commands which find unreachable commits.
Ty! We have a GIT master here.
Definitely not a master!
Just someone who's read a lot of git related stackoverflow questions...