问题:
Is there a way to see what would be pushed if I did a git push
command? 有没有一种方法能够查看若是执行git push
命令会被git push
? git
What I'm picturing is something like the "Files Changed" tab of Github's "pull request" feature. 我正在描绘的是相似Github的“拉动请求”功能的“文件已更改”选项卡。 When I issue a pull request, I can look and see what will be pulled in if they accept my pull request: 当我发出拉取请求时,我能够查看并查看若是他们接受个人拉取请求将被拉入什么内容: github
Command line is OK, but I'd prefer some sort of GUI (like the screenshot above). 命令行是能够的,可是我更喜欢某种GUI(例如上面的屏幕截图)。 spa
解决方案:
参考一: https://stackoom.com/question/FG7u/我如何查看要使用git推送的内容参考二: https://oldbug.net/q/FG7u/How-can-I-see-what-I-am-about-to-push-with-git