84669 Lernen von Personen
152542 Lernen von Personen
20005 Lernen von Personen
5487 Lernen von Personen
7821 Lernen von Personen
359900 Lernen von Personen
3350 Lernen von Personen
180660 Lernen von Personen
48569 Lernen von Personen
18603 Lernen von Personen
40936 Lernen von Personen
1549 Lernen von Personen
1183 Lernen von Personen
32909 Lernen von Personen
git可以使用
git status
来查看那些文件没有提交 commit,但是如何查看哪些文件没有提交push到远程?
走同样的路,发现不同的人生
推荐你用Source Tree,对Git整个分布式流程一目了然,同时也能解决题主在本题中的要求。 Atlassian出的敏捷开发工具异常好用,Source Tree是代表作之一。
只要提交过commit后, 当你push的时候自然就会push到远程了吧. 唯一要区分的是有没有push过而已
git status 里不是有嘛:
> git status On branch refactor Your branch is ahead of 'origin/refactor' by 1 commit. (use "git push" to publish your local commits) nothing to commit, working directory clean
「哪些文件没有提交push到远程」——git status 说明哪些文件没有提交。要看哪些提交在远程不存在,可以试试这个命令,看哪些提交在哪些分支上有(而另外的分支上没有):
git show-branch -a --color=always
git status查看当前文件状态
推荐你用Source Tree,对Git整个分布式流程一目了然,同时也能解决题主在本题中的要求。
Atlassian出的敏捷开发工具异常好用,Source Tree是代表作之一。
只要提交过commit后, 当你push的时候自然就会push到远程了吧.
唯一要区分的是有没有push过而已
git status 里不是有嘛:
「哪些文件没有提交push到远程」——git status 说明哪些文件没有提交。要看哪些提交在远程不存在,可以试试这个命令,看哪些提交在哪些分支上有(而另外的分支上没有):
git status查看当前文件状态