How do I merge a pull request on someone else’s project in git?

(GitHub has very thorough documentation on how to deal with pull requests.) Essentially, you’ll want to add a remote for the repository of the person who made the pull requests, e.g.: git remote add helpful git://github.com/helpful-person/whatever.git … then fetch their changes into remote-tracking branches: git fetch helpful … so that now you have all the … Read more

Are pull requests part of Git, or a feature of tools like GitHub, Gerrit and Atlassian Stash?

Pull requests are a simple concept that originated when Git was created but has been taken to different levels since. The essence is that you do not have push rights to the repository you want to contribute on, so instead you fork the repository, making your private copy (a clone already does this btw.) and … Read more

How do I push to a pull request on github?

Here’s are GitHub’s “Merging via command line” instructions for pull requests (I am fulldecent, the other guy is ospr): Step 1: From your project repository, check out a new branch and test the changes. git checkout -b ospr-image-rendering master git pull https://github.com/ospr/FDWaveformView.git image-rendering Step 2: Merge the changes and update on GitHub. git checkout master … Read more

How to send pull request on Git

Both Git (the software) and GitHub (the web service) have a concept called “pull request”, and unfortunately they are not exactly the same thing. Native Git The native Git request-pull command has a very short manual page with the following one-sentence description: Summarizes the changes between two commits to the standard output, and includes the … Read more

How can I send a pull request via command line in Bitbucket?

Bitbucket with it’s RESTful API 2.0 supports managing pull requests without interface. In CLI you can request it with CURL. This older version of the documentation has better interface details. Get pull request data with CURL To get full data about specific pull request: $ curl –user s3m3n:bbpassword https://bitbucket.org/api/2.0/repositories/s3m3n/reponame/pullrequests/4 In return I get JSON with … Read more

Push fails in GitKraken with errormessage “Push Failed cannot read property ‘fullName’ of undefined”

I had this problem as well when there was a HEAD tag at a commit behind the current local master or origin/master. Try double-clicking your local master (which eliminates HEAD) and then push your changes. Note that if you do not have a local master, right-click on remote origin master and choose ‘Checkout origin/master’. Then … Read more

How to resolve merge conflict in pull request in VSTS?

Update Microsoft just added browser based merges. This may get you out of a pickle for small conflicts. And offers improved visualizations of the different scenarios as of Sprint 150. For more complex situations: You have two options to resolve the conflict, reverse-integrate the changes from the target branch (which creates additional merge commits), or … Read more

Adding Tags to a Pull Request

How do I include the tag I’ve created into the Pull Request? You can’t. A pull request does not include tags. A pull request is only a pointer to a thread of commits (a branch) in your repository that you’re proposing another repository to merge. If you want to notify the upstream repository that a … Read more