Delete file from Pull Request on GitHub

后端 未结 7 1166
误落风尘
误落风尘 2021-02-06 23:00

I have make pull request on git (with \"xcodeproj/project.pbxproj\" file - my fault), so can I delete this file from created Pull Request? Thanks..

7条回答
  •  广开言路
    2021-02-06 23:38

    You probably will merge this pull request on master, so you can checkout just this specific file again, from master, on your branch, just type:

    git checkout master -- xcodeproj/project.pbxproj
    git commit -m "removing a file from PR"
    git push origin {YOUR BRANCH}
    

提交回复
热议问题