-
Notifications
You must be signed in to change notification settings - Fork 539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send Pull Request from branch, not from master. #341
Conversation
If not you risk being out of sync with upstream master forever. Also, if you add more changes to master they will all be part of the same Pull Request.
If we are going to be prescriptive about this, instead of something like |
Yes, |
To be honest, I don't care what the branch name is that the PR is coming from. If it is called
If you would make the change, that help would be appreciated. Thanks for all of the help. |
Yes I know that I will add the proposed change :) |
Hmm, I'm not a git/GitHub expert myself. patchesCore.gdoc in my branch is now one change behind master because of 6d9c986. |
@rlovtangen This is part of the reason that I am not a fan of defining prescriptive instructions like those being edited here. Knowing how to use git should be a pre-cursor to using git. One way to go about this is to create a local branch that is consistent with the current master branch. Make your changes on that local branch and then do something like this to push your changes to a newly created remote branch (assuming that your remote is called "origin").
That is the most fool proof way. If you know what you are doing with rebase then you have other options. How you have things configured in ~/.gitconfig may also be a factor (for example, I have some things configured related to tracking branches that simplies these kinds of things for me). I hope that helps. If it doesn't just let me know and I will make the changes. Thanks again for all of the help. |
…d be a branch for each Pull Request.
Not sure I followed how I could get additional changes as part of this PR if I'm pushing to a new branch, and why the remote name should be different. Maybe you meant to do the changes again and submit a new PR instead? I need to read up on this, maybe. I use Git at work, but not GitHub, and especially not pull requests as we all have full access to our repos. Anyway, I added the change as an additional commit to this PR. Hope that's fine. The change in 6d9c986 is on a non-conflicting line, so the merge should be automatic. When sending parallel pull requests that operates on the same files, like I did, one of the pull requests would need to face this anyway. BTW: I'm not a native English speaker, so I won't be upset if you or others make grammar changes or rewrite whole sentences to something better. That would be quite good, actually. I really care about having good updated documentation, so I won't let the fact that I'm not always able to produce perfect English, stop me from contributing. Hope that's OK :) |
Send Pull Request from branch, not from master.
* Revert "Update project to Groovy 3.0.19 (#339)" (#340) This reverts commit 166db0a. * Revert "Revert "Update project to Groovy 3.0.19 (#339)" (#340)" (#341) This reverts commit 147212246f680efceddd84b62d69fcda42a4cfb1. * Update gormVersion to v8.0.3 --------- Co-authored-by: Puneet Behl <behlp@unityfoundation.io> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
If not you risk being out of sync with upstream master forever. Also, if you add more changes to master they will all be part of the same Pull Request.