我在github上有一个项目,我刚刚提交并推送了它。然而,我的更改在github上没有显示。
我想我没有检出
如何找出我当前检出的分支?如何将这些更改合并到
当我提交时,它说:
我想我没有检出
master
分支。这意味着我不知道我当前正在工作的分支的名称。老实说,我真的不知道我刚才提交了我的更改到哪里。如何找出我当前检出的分支?如何将这些更改合并到
master
中?我刚才做了什么?当我提交时,它说:
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# Not currently on any branch.
然后我执行了git push
命令,但我不知道它被推送到了哪里。
$ git log
commit dcb85bcfafa18d9dfe9f12659e7ba0e2662ca45e
Author: ...
Date: Wed May 18 22:41:57 2011 -0400
Fix for new vm website layout, add CREDITS
我的代码在哪里?我如何将其合并到主分支中?