pull-request

how to list all pull request with count of files changed

拜拜、爱过 提交于 2019-12-02 00:35:27
I am looking for some command which tells me number of files committed in a single pull request. I would like to know count of files in a single pull request individual from beginning. Question explained in real life scenario: Let's say for some myProject someone raised a pull request number 100 which has changes in 15 files. I am looking for a command which list all pull request from 1 to 100 with count of changed files. Please answer wrto Windows 7. i.e. PR Number 100 has changes in 10 files PR Number 99 has changes in 5 files PR Number 98 has changes in 6 files PR Number 96 has changes in

Ensure github PR squash merge commit comments contain issue ID

戏子无情 提交于 2019-12-01 21:49:12
问题 How can I ensure commit comments from a github PR squash merge contains required text? We use Jira + Github and if a use enters Jira issue IDs in commit comments those a commits become linked to the Jira issues. When users merge a PR from their private feature branch, they usually squash and merge which means the user can manually summarize the intent of the single commit from that branch to a larger integration branch or master. If a user forgets to enter them when they merge the PR, it

How to close a GitHub pull request with a commit message?

偶尔善良 提交于 2019-12-01 15:08:24
My team uses pull requests internally for code-reviewing the application we maintain, but when it's time to merge a commit, we just push directly to master . We're all repo collabs anyway, and by not using the pull request to merge code, we avoid polluting our commit history with merge commits. Since the app is internal to our team, no one else is affected. What I want to know is, can I amend my commit message with something like "closes PR #30" and have github automatically close the pull request for me? I know you can use commit messages to close issues, so I'm hoping there is something

How to close a GitHub pull request with a commit message?

落花浮王杯 提交于 2019-12-01 14:48:12
问题 My team uses pull requests internally for code-reviewing the application we maintain, but when it's time to merge a commit, we just push directly to master . We're all repo collabs anyway, and by not using the pull request to merge code, we avoid polluting our commit history with merge commits. Since the app is internal to our team, no one else is affected. What I want to know is, can I amend my commit message with something like "closes PR #30" and have github automatically close the pull

Is it possible to receive notifications when a comment is added to a TFS Git pull request?

我只是一个虾纸丫 提交于 2019-12-01 13:58:49
问题 My team uses a Git team project with TFS 2013 Update 4. Email notifications are sent out as expected when a pull request is created or a branch under review is updated. However, notifications aren't sent when a comment is added to the pull request - is it possible to enable that? 回答1: As of the 5/11/2017 release, users now get notifications for comments on PRs they create or have participated in. https://docs.microsoft.com/en-us/vsts/release-notes/2017/may-11-team-services#default

Github downstream pull request?

拜拜、爱过 提交于 2019-12-01 03:45:11
I have a project up on github, which an organization on github has forked. Can i push my code downstream to the organization's fork? I tried doing it, but was not able to. I would like to know if i can send a pull request downstream? GitHub does allow this, and it's actually pretty easy to do, although I didn't find it very clearly-documented. The short of it, is that when you navigate on Pull Requests > New Pull Request from the GitHub UI, you get taken to the "Compare" page. In the drop down to the left you can select your own branches, OR you can type in a branch on another user's repo

git request-pull: how to create a (github) pull request on the command line?

风流意气都作罢 提交于 2019-12-01 03:05:51
I've cloned a project, and pushed a branch with just a renamed readme file to README. I am trying to create a pull-request on the command line, just to try PR from here instead of a website. $ git request-pull origin/master origin readme:readme The following changes since commit 51320a3a42f82ba83cd7919d24ac4aa5c4c99ac6: first commit message are available in the git repository at: git@github.com:example/com:example.git readme for you to fetch changes up to 891c05c5236341bcbe33ceddc415ae921ee42e44: second commit message ---------------------------------------------------------------- Simone

github pull requests: Conflicting advice on commit ranges?

試著忘記壹切 提交于 2019-12-01 00:44:50
I know about using branches for multiple pull requests, that's fine. But what about this scenario: Dave is the upstream repo, master branch "Dave/A" Satish forks the repo, creates branch B, and sends a pull request against Dave/A Satish then creates branch C from Satish/B, and let's assume that C requires B Satish wants to create another pull request, this time for branch C I've found two conflicting sets of advice (but perhaps the dependency on B is different) Advice from GitHub seems to say C should be applied against A: Changing the base repository changes who is notified of the pull

github pull requests: Conflicting advice on commit ranges?

心已入冬 提交于 2019-11-30 17:23:31
问题 I know about using branches for multiple pull requests, that's fine. But what about this scenario: Dave is the upstream repo, master branch "Dave/A" Satish forks the repo, creates branch B, and sends a pull request against Dave/A Satish then creates branch C from Satish/B, and let's assume that C requires B Satish wants to create another pull request, this time for branch C I've found two conflicting sets of advice (but perhaps the dependency on B is different) Advice from GitHub seems to say

Creating pull requests in gitlab

别来无恙 提交于 2019-11-30 11:05:23
I have gitlab installation running, and I have a repository with library that I want to share with my friends, I can't understand what is the flow of sending pull request in gitlab.. The user can't fork my repository, he can't access my project (unless he is my on team.. which is weird..) and the merge request can be from one branch to another in my repository.. How it works in gitlab? GitLab will have forking as of version 5.2. Cross repo pull requests will soon follow. Fork pull request: https://github.com/gitlabhq/gitlabhq/pull/3597 GitLab.com co-founder here. Forking should work fine in