英文:
How to compare two python files with the same name in different branches in GitHub?
问题
How can I compare these files in GitHub?
I am aware of git diff
command but I am looking for a way to compare files in the repository user interface (instead of using git commands in the terminal).
英文:
I have 2 versions of a Python code (python files with the same name) in 2 different branches in GitHub.
How can I compare these files in GitHub?
I am aware of git diff
command but I am looking for a way to compare files in the repository user interface (instead of using git commands in the terminal).
答案1
得分: 2
你可以比较分支,这将显示任何差异:
https://github.com/<user>/<repo>/compare/branchA...branchB
英文:
You can compare the branches which will show any diffs:
https://github.com/<user>/<repo>/compare/branchA...branchB
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论