使用mac的工具提交:
(1)
(2)然后选择file ,commit+push:
(3) 不要直接点击底线的commit;按钮,因为 默认只有commit 没有push;
(4)如果不小心点击了commit之后,就不能再pull代码了,只能先执行push;
这时候 不能在 命令行中 执行 git push 会一直显示 有未提交的代码;
应该这样:选择VCS==>git==>Push;
然后就可以下拉代码了;