-
Notifications
You must be signed in to change notification settings - Fork 12k
Iss3022 #3239
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
Iss3022 #3239
Conversation
I have the same problem with old commits again. Only last commit is related to the #3022 and it is in the new branch (iss3022), but the previous are (already merged) and they are in master branch. Please, hint me how to fix this? |
When you create a new branch, you need to start from
Then, in your case, I would simply do a Creating a new branch from upstream/master:
Re-syncing with upstream/master (e.g. before submitting a PR):
I prefer rebasing over merging to re-sync a PR, but it's debatable. If you rebase, don't forget to force push to your fork remote (which might certainly be
Once a PR is merged, delete the branch, remotely and locally. I think your issue is that you created a new branch from your local master branch which might not be synced with chartjs/master.
|
I really create new branch from local master (git checkout -b iss3022), but before sync with remote/master like it is described here. The difference is in "git rebase remotes/upstream/master". I apply it and did "git push origin iss3022 --force" once again, but there are still 11 commits in the PR. |
The extra commits might be because we squashed your PR on merge: they still appear in your local master but not in the chartjs master. I would advice you to delete your local master branch (if you have no change in it), and re-create it from upstream: I don't use the same process described in your link, I never work directly in master (always in different branches) and when I need to re-sync my local master (very rarely), I rebase it on The easiest way to fix that PR is that since it's a one line change, you can delete your local branch, recreate-it with the command in my previous message, do your change and force push to the same iss3022 remote branch. |
I cloned your fork and did a rebase of your iss3022 branch on top of |
Ok, thank you for instructions. I prefer to recreate master because I had conflicts during rebase process. Now it's only one commit in PR) |
Glad that helped you :) The fix LGTM, @etimberg what do you think? We should make the commit message a bit more explicit when merging. |
@simonbrunel I am +1 to merge |
This fix #3022
