Newbie msysgit question
![Post Post](./styles/ca_halcyon_darkblue/imageset/icon_post_target.gif)
I wanted to mess around with Crawl code, so I consulted the stickies and used msysgit via the following quickstart guide: posting.php?mode=post&f=22
I had no intention of submitting code at this point, I was just testing my own ability to make changes to the code in question. I edited some code, ran make, tested it, and then used the 'commit' command. However, I never used the 'push' command.
I thought I would be able to revert to the basic code with the "git checkout --filename" command. But when I ran it, I still had my edited code. So I tried deleting the file in question, confirming that it was deleted, then doing "git checkout --filename." Oddly, I still ended up with my edited code!
Why am I not reverting to the public code, and how can I do so?
I had no intention of submitting code at this point, I was just testing my own ability to make changes to the code in question. I edited some code, ran make, tested it, and then used the 'commit' command. However, I never used the 'push' command.
I thought I would be able to revert to the basic code with the "git checkout --filename" command. But when I ran it, I still had my edited code. So I tried deleting the file in question, confirming that it was deleted, then doing "git checkout --filename." Oddly, I still ended up with my edited code!
Why am I not reverting to the public code, and how can I do so?