简体   繁体   English

GitHub:获取当前在拉取请求中的一个特定文件的所有更改

[英]GitHub: Get all changes of one particular file that are currently in pull requests

I am working on a big repository that has many contributors and currently it has many open pull requests.我正在开发一个拥有许多贡献者的大型存储库,目前它有许多开放的拉取请求。 I want to make changes to one file and I want to get all changes of that particular file that are in pull requests right now.我想对一个文件进行更改,并且我想立即获取拉取请求中对该特定文件的所有更改。 Is there any way to do such a thing?有没有办法做这样的事情?

You will have to fetch upstream first to avoid conflicts and then once you made your changes, you can see all your changed files using command您必须先获取上游以避免冲突,然后在进行更改后,您可以使用命令查看所有更改的文件

git status

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM