我克隆了我的存储库并进行了一些更改。我尝试将其推送到 github:
git add *
git commit -m "changes"
git push origin master
但它没有找到我的更改。我能做些什么?
我克隆了我的存储库并进行了一些更改。我尝试将其推送到 github:
git add *
git commit -m "changes"
git push origin master
但它没有找到我的更改。我能做些什么?
Note that:
git add .
is the usual form to add everything in the current directory and subdirectories.*
' might not work as expected. A dot '.
' will)git add -u .
would allow you to record the deletion of files.git add -A .
is a shortcut to do both.