Reputation: 3
For a project, I git (and github) on a lot of pc. On one, I first checkout to get old code and I commit and push to github with respectively git commit -a -m "Message"
and git push --force
. I see that it work but now on an other pc when i want to get the last commit, I can't get the modifications. I try to use git log
but the commit isn't there and I try to see it with git reflog
but it doesn't work. How can I get it back ?
Upvotes: 0
Views: 42