git commit 1.c -m "a .c file for test",git commit 只是将代码提交到本地的仓库当中
git push origin master, git push 是将本地仓库的内容提交到远程仓库当中,与服务器同步
git commit 1.c -m "a .c file for test",git commit 只是将代码提交到本地的仓库当中
git push origin master, git push 是将本地仓库的内容提交到远程仓库当中,与服务器同步