unable to git fetch
I created a local repository and command ls -al shows it is .git. I edited a file and want to revert back to the original. The edited version of the file was renamed leaving no file of that name in the directory. I tried these two commands along with some others.
Code:
git fetch .git parser.odt Code:
git fetch ./.git parser.odt Quote:
Code:
git add parser.odt What must be changed to get a copy of that file? EDIT: I am looking at: git --help and the most commonly used commands do not include any command to show what is in the repository. How is that done to ensure that the files were really saved? |
try
Code:
git checkout FILENAME |
Checkout works. But, I don't really want to check it out for editing. I just want a copy of it.
|
All times are GMT -5. The time now is 08:11 AM. |