Git------Commit和Push的区别

转载:http://wenda.so.com/q/1435946424728324?src=140
git作为支持分布式版本管理的工具,它管理的库(repository)分为本地库、远程库。
git commit操作的是本地库,git push操作的是远程库。

git commit是将本地修改过的文件提交到本地库中。
git push是将本地库中的最新信息发送给远程库。
原文地址:https://www.cnblogs.com/tianhengblogs/p/6522841.html