Git status:
Local: master ~/Dropbox/MyProject/
Remote: master @ origin (https://github.com/.../MyProject.git)
Head: fe73b07 updated gitignore
Pending commits:
* updated gitignore
* test
* trying to go with a flat structure
* * testing.py:
This is how my short history looks like
fe73b07 * [HEAD] [origin/master] [origin/flat] [new] [master] [flat] updated gitignore
974e70d * test
ab333e6 * trying to go with a flat structure
b901d75 * * testing.py:
I feel so screwed; I just want to go back to b901d75
and forget everything else happened.
But whenever I check it out (checkout
), I'm not allowed to commit/push with this.
After the git hard reset, I'm in this situation:
Local: master ~/Dropbox/MyProject/
Remote: master @ origin (https://github.com/../MyProject.git)
Head: dec79d3 updated gitignore
Pending commits:
* updated gitignore
* test
* trying to go with a flat structure
* * testing.py:
Unpulled commits:
fe73b07 updated gitignore
974e70d test
ab333e6 trying to go with a flat structure
Unpushed commits:
dec79d3 updated gitignore