問題:
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