I made a mistake in the code on a file on a remote repo and so used 
`checkout` to bring it into my branch to fix it. Running `git status` 
immediately after, I see the file is modified and staged.

I then make my changes to fix the code and run `git status` again and see 2 
'versions' of the same file - one staged and one not. Makes sense, all I 
got to do is `git add` the unstaged one and it will update the one in stage.

I do this and `git status` again but now stage is now empty. I get the 
message `nothing to commit (working directory clean)`.

To experiment, I run through the commit, push, merge process and check the 
remote repo, but, of course, the buggy code is still there.

Would anyone know what's going on here?

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to