2

我克隆了我的存储库并进行了一些更改。我尝试将其推送到 github:

git add *
git commit -m "changes"
git push origin master

但它没有找到我的更改。我能做些什么?

4

1 回答 1

0

Note that:

  • git add . is the usual form to add everything in the current directory and subdirectories.
    (depending on your shell, '*' 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.
于 2013-02-26T12:06:46.453 回答