pull is to synchronize remote code to local. If you submit local code to remote, three steps:
git add .
git commit -m "your commit message"
git push origin master
Of course, what I said here is very rough and I made a lot of assumptions. Assume that you are in the current git directory, assuming that there is already a local remote called origin, etc.
pull is to synchronize remote code to local. If you submit local code to remote, three steps:
git add .
git commit -m "your commit message"
git push origin master
Of course, what I said here is very rough and I made a lot of assumptions. Assume that you are in the current git directory, assuming that there is already a local remote called origin, etc.