I have two folders (test-git1 and test-git2), in both I gave a clone of the server repository.
If I delete an unintentional file inside the git1-test folder, how do I get it back? I tried to give git pull origin master
, but this message appears:
$ git pull origin master
From github.com:asdasdadasasd/teste-git
* branch master -> FETCH_HEAD
Already up-to-date.
In my test-git1 folder, I delete the file joao.txt
, then I made a
git status
'deleted: joao.txt'
So long, okay, but how do I get this data back? Do I have to give a clone again? Is there a way to retrieve the pull again?