请尝试移动/删除似乎有问题的EyeGuideAuto_test/
文件夹。
检查该文件夹是否具有嵌套的.git/
子目录。
然后检查git add .
是否有效。如果无效,请尝试git add一些文件(进行第一次提交),并逐步进行。
你好,让我告诉你如何使用Git推送内容的基本步骤。请确保你按照以下所有步骤进行操作。
如果你有一个新项目并且没有初始化Git,请执行以下操作:
git init
然后,每当您在项目文件夹中进行更改并保存后,只需返回到Git并执行以下操作:
git status
git add <file name>
git add .
git commit -m "<your commit message here>"
一个快捷的将所有文件分阶段并提交它们的方法是
git commit -am "<your commit message here>"
git push
git branch --- to know the current branch you are on
git checkout <branchname> --- to switch to some other branch
git checkout -b <branchname> --- to create a new branch
git gc --prune=now ---- to clear all the references
git log
返回什么?而git show
呢?(在Maven_test
文件夹中完成):你能看到现有的文件吗? - VonC