git 分支提交无效
漂亮男人
漂亮男人 2017-05-02 09:29:39
0
4
490


跟图片上显示的 featurel 是我新建的分支, 修改之后add并提交我的read.txt文件,就显示Unstracked files:

gitskills/

其中gitskills是我在自己github账号上创建的仓库,clone过一次上面的文件到本地的git仓库里面,所以很好奇为什么分支的提交牵扯到了gitskills
教程的话参考于廖雪峰个人网站的git教程

漂亮男人
漂亮男人

reply all(4)
我想大声告诉你
git add .
git commit -m 'add something'
刘奇

Correct answer upstairs, see the prompt: nothing added to commit but untracked files present

git add . Add files in the current directory
git add -A Add all changed files

伊谢尔伦

Why do you need to add the absolute path to git commit d:readme.txt

阿神

I guess you cloned it several times and messed up the directory status.

Change the directory and try again. If there are still problems, take a step-by-step screenshot of git status.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!