Maescool / Catacomb-Snatch

Mojang's Humble bundle source
Other
295 stars 99 forks source link

Another issue with git #921

Closed Shephiroth closed 12 years ago

Shephiroth commented 12 years ago

Hi, sorry in advance for another "stupid" question.

Ok, im working with the abstract layer (finally in the right direction, give me one more week), but this time i made a big mistake. Im using directly the local git repository instead of another location in my computer. This way, any change i do in my netbeans is recorded by git, and thats a big problem for me.

How can i make git, to retrieve ALL FILES from upstream instead of only changes??

My first problem was the property files, but already discarded local changes and git download it properly, but with other "local modified" files dont download them. Probably the righth thing to git to do, but how can i force git to ignore all modifications and update all local files???

Shephiroth commented 12 years ago

Ok, solved, "git reset --hard" fixed it.