I cloned my repo and made some changes. I tried to push it to github:
git add *
git commit -m "changes"
git push origin master
but it hasn't found my changes. What can I do?
I cloned my repo and made some changes. I tried to push it to github:
git add *
git commit -m "changes"
git push origin master
but it hasn't found my changes. What can I do?
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.