【发布时间】:2017-07-15 09:36:16
【问题描述】:
假设我在本地 repo 上提交并推送.. 我想在 GitHub 上打开项目并通过一个命令显示与主分支或任何其他分支相比的文件更改,或者至少将链接复制到剪贴板,请检查:git open,但这还不够。
我在想是否可以使用 git 命令和其他一些终端技巧来创建脚本,例如:git diff HEAD~ --name-onlygit remote -v|任何附加到远程 url' 的代码?
需要的命令是:
github compareto master
或
github commits
或
github clipboard compareto master
【问题讨论】:
标签: git bash github terminal git-bash