pull-request

Delete a closed pull request from GitHub [closed]

谁说胖子不能爱 提交于 2019-11-27 05:20:33
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I accidentally made a wrong pull request and ended up closing the request myself. It's in a closed state right now but it's accessible via direct URL and showing on my activity bar. Is there any way to delete a pull request completely so it's no longer accessible via URL or shows up on your activity history? 回答1

How to apply unmerged upstream pull requests from other forks into my fork?

自闭症网瘾萝莉.ら 提交于 2019-11-27 02:20:00
A project on GitHub that I have a fork of has a new pull requests that I want to pull into my fork that the author has not pulled in yet. Is there a simple way to apply pull request from other forks into my fork? Is there something else here that I am missing? You can do it manually quite easily: add the other fork as a remote of your repo: git remote add otherfork git://github.com/request-author/project.git fetch his repo's commits git fetch otherfork You have then two options to apply the pull request (if you don't want to choose pick 1.) If you don't care about applying also the eventual

What do you do with your branch after a pull request on GitHub?

妖精的绣舞 提交于 2019-11-27 02:03:40
问题 My team is experimenting with using GitHub pull requests for code reviews. My only question is what do you do with the branch after you're done? I would think you'd want to delete the branch, but since GitHub hides branches that have been merged into your current branch, it seemed like maybe I should keep it. Just curious on what your thoughts on best practices for this are. 回答1: The rule of thumb that we use (which is here some where on Stack Overflow) is "branches are for work, tags are for

How can I fetch an unmerged pull request for a branch I don't own?

≡放荡痞女 提交于 2019-11-26 21:29:16
I need to pull in a specific pull request (that hasn't been processed into the main stream yet) in the NServiceBus repo: https://github.com/johnsimons/NServiceBus/commit/d8524d53094e8181716e771c1023e968132abc15 It's obviously not my repo, but I need the changes that exist in that pull request. What is the best way to do this? wolfc To fetch a pull into your repository: git fetch git@github.com:jboss/jboss-common-beans.git refs/pull/4/head Then do whatever you want with FETCH_HEAD: git checkout -b new-branch FETCH_HEAD Steven Penny git pull origin pull/28/head Or git fetch origin pull/28/head

How can I check out a GitHub pull request?

南笙酒味 提交于 2019-11-26 21:09:19
I'd like to check out a previously created pull request (created via GitHub web interface). I searched and found different places where a refs/pull or refs/pull/pr But when I add fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to the git config file and do a git fetch What I'm doing wrong? Should GitHub create automatically the pull/xyz stuff, or do I have to configure something? timbo To fetch a remote PR into your local repo, git fetch origin pull/ID/head:BRANCHNAME where ID is the pull request id and BRANCHNAME is the name of the new branch that you want to create. Once you have created

Preferred Github workflow for updating a pull request after code review

旧时模样 提交于 2019-11-26 17:59:57
I've submitted a change to an Open Source project on Github, and received code review comments from one of the core team members. I would like to update the code taking into account the review comments, and re-submit it. What is the best workflow for doing this? From my limited knowledge of git/github, I could do any of the following: Update the code as a new commit, and add both the initial and updated commit to my pull request. Somehow (??) rollback the old commit from my repository, and create a single new commit containing everything, then raise a pull request for that? git commit has an

Send a pull request on GitHub for only latest commit

烈酒焚心 提交于 2019-11-26 17:34:00
问题 I forked a project on github and am successfully making changes to my local master and pushing to origin on github. I want to send a pull request, but only want to include the last commit. The pull request UI on github.com shows the last 9 commits and I don't know how to filter that down. I was trying to understand if I should create a new local branch, check that out and somehow reset or rebase to upstream? Then apply my last commit from my master by id to the new local branch and use that

GitHub clone from pull request?

你离开我真会死。 提交于 2019-11-26 15:01:46
问题 I would like to clone a repository from GitHub. The problem is I don't want the main branch; I want the version in this unapproved pull request. Is it possible for me to clone the pull request version instead of the main repository? 回答1: You can clone the branch you want by using the -b option in the git clone command. In your case, the branch you want to clone is the source branch of the pull request (feature/mongoose-support): git clone https://github.com/berstend/frappe.git -b feature

How to send pull request on Git

不想你离开。 提交于 2019-11-26 12:18:31
问题 We have recently migrated to Git from SVN. We have setup a bare repository on one machine in our LAN network and cloned on other machines. Now when anyone do the changes and commits we want that he sends the pull request to the bare repo (by telling or emailing or any other way) after that one will go through the changes and pull it on bare repository (same as it works on GitHub). Do we need to install any interface or there is some commands in Git itself? 回答1: Both Git (the software) and

How to apply unmerged upstream pull requests from other forks into my fork?

匆匆过客 提交于 2019-11-26 10:03:59
问题 A project on GitHub that I have a fork of has a new pull requests that I want to pull into my fork that the author has not pulled in yet. Is there a simple way to apply pull request from other forks into my fork? Is there something else here that I am missing? 回答1: You can do it manually quite easily: add the other fork as a remote of your repo: git remote add otherfork git://github.com/request-author/project.git fetch his repo's commits git fetch otherfork You have then two options to apply