I cannot figure these out by myself (these are very easy to do with svn/rabbitvcs in Linux)
- How to view local changes against central server (origin?) for one file? (graphically)
- How to revert local changes for one file?
Also, when i do a pull, i get this error:
n $ git pull
error: Your local changes to the following files would be overwritten by merge:
Application/powerbar.cpp
Please, commit your changes or stash them before you can merge.
Aborting
But when i do a git diff
for the file it does not display anything.
Edit: Turns out that the file is a local file (powerbar.cpp), why does git want to overwrite my local file?
Edit: When i do "git checkout myfile.cpp" the following is displayed: error: path 'myfile.cpp' is unmerged
When i do "git reset myfile.cpp' then what exactly happens? It does NOT revert my local changes.