【发布时间】:2022-01-07 19:32:48
【问题描述】:
我做了一些提交,但我看不到它们的推送。
我读过这可能与没有遥控器有关?但这里是命令行的结果:
$ git remote
origin
更新:
git status 命令结果:
git status
HEAD detached from 5235085
Untracked files:
(use "git add <file>..." to include in what will be committed)
.idea/
Connect4Py/__pycache__/
nothing added to commit but untracked files present (use "git add" to track)
git branch -avv 命令结果:
git branch -avv
* (HEAD detached from 5235085) 908eb97 Fix: - New camera OpenCV configurations - Improved the Yellow and Red Ball detections. - Improved the Matrix placement of the balls.
main 6dc0b73 [origin/main] Fix: bug fixes
temp 1e084c0 Fix: - New camera OpenCV configurations - Improved the Yellow and Red Ball detections. - Improved the Matrix placement of the balls.
remotes/origin/HEAD -> origin/main
remotes/origin/main 6dc0b73 Fix: bug fixes
注意:fix: bug fixes 提交不是我做出的,那是另一个用户,他的 commit-push 命令是成功的。
【问题讨论】: