0

吉特状态:

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:

这就是我短暂的历史的样子

fe73b07 * [HEAD] [origin/master] [origin/flat] [new] [master] [flat] updated gitignore
974e70d * test
ab333e6 * trying to go with a flat structure
b901d75 * * testing.py:

我觉得很糟糕;我只想回到过去b901d75,忘记其他发生的一切。

但是每当我检查它时(checkout),我都不允许提交/推送这个。

git硬重置后,我处于这种情况:

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
4

0 回答 0