Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
vbernat
· 4y ago · 0 comments
You can add a tag to the change you want to keep. Whatever you do, you can recover it (git reset --hard tag). Once you are done, remove the tag. Otherwise, there is the reflog, like mentioned in a sister comment.
Comments
[–]
rubyist5eva
4y ago
standard branches can serve this purpose