-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Issue #12228: Changes in the overview section applied #12256
Conversation
Please look at CI failure and fix:
|
This page explains how to pull latest and rebase https://checkstyle.org/beginning_development.html#Starting_Development |
@NitishKumar06 CI and Github says it is not. Maybe confirm you have forced pushed your branch and all its updates to the server. https://github.com/NitishKumar06/checkstyle/tree/Nitish/12228
|
Do single commit in PR. |
@romani The checks are passing now! Please review and suggest some changes if necessary. |
@NitishKumar06 There are 2 commits in this PR. We are looking for there to only be 1, which is only your work. No merge commits.
See https://checkstyle.org/beginning_development.html#Starting_Development step 5 about squashing, rebasing, and force pushing. |
@rnveach Gitbash is showing only 1 commit when I type the command |
I don't know the Git command line to assist. I just know that Github shows there are 2 commits and the 2nd one is a merge commit. |
I generally use git command line to raise PRs or make changes. The merge commit is not visible there.
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: rnveach ***@***.***>
Sent: Friday, October 7, 2022 9:06:25 PM
To: checkstyle/checkstyle ***@***.***>
Cc: Nitish Kumar ***@***.***>; Mention ***@***.***>
Subject: Re: [checkstyle/checkstyle] Issue #12228: Changes in the overview section applied (PR #12256)
I don't know the Git command line to assist. I just know that Github shows there are 2 commits and the 2nd one is a merge commit.
—
Reply to this email directly, view it on GitHub<#12256 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AUQQSLUZNPNQG4LTE2I4UY3WCA7PTANCNFSM6AAAAAAQ5TIQIU>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Try to hard reset back to 222bb9f and force push |
Your display may be cut off, but
|
@rnveach it's not showing for me. Any suggestions on how to proceed further? |
Hard reset to the non-merge commit mentioned in this PR and do a rebase on the latest master. Do not do a merge. |
@rnveach This sounds a little complex! Should i just close this PR and raise a new PR for the same? |
Use same PR, just push with force to existing remote branch. |
I recommend trying to learn so it will help in the future. It should be simple commands, but it depends on your familiarity with git.
Note: I do not use Git command line often, and the checkout and origin remote will depend on your local setup. |
@NitishKumar06 It is still not squashed. You have 3 commits now because you did another merge. |
@rnveach |
We are working to add a CI item for this, #12259 , and as we found there is some issue with your local that it isn't showing those commits. I don't remember all the specifics, but merge commits sometimes messes up the display of GH, and we as a group don't do merge commits. Everything should be rebased on top of master. When we merge PRs, we don't do a merge but another rebase. We prefer a single git history flow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Items
0f15f43
to
efbb9c1
Compare
@NitishKumar06 Looks like you got the commits to squash into 1 and rebased. |
It's squashed now!
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: rnveach ***@***.***>
Sent: Tuesday, October 11, 2022 11:38:55 PM
To: checkstyle/checkstyle ***@***.***>
Cc: Nitish Kumar ***@***.***>; Mention ***@***.***>
Subject: Re: [checkstyle/checkstyle] Issue #12228: Changes in the overview section applied (PR #12256)
@NitishKumar06<https://github.com/NitishKumar06> Looks like you got the commits to squash into 1 and rebased.
—
Reply to this email directly, view it on GitHub<#12256 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AUQQSLX4VVIQUB3AIHBMBGTWCWULPANCNFSM6AAAAAAQ5TIQIU>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok to merge
GitHub, generate website |
efbb9c1
to
96c2e9f
Compare
GitHub, generate website |
@NitishKumar06 please make CI happy, you need to rebase on latest master and fix spelling errors |
2 of my comments are not done also. |
96c2e9f
to
60756de
Compare
@rnveach The changes are applied now! |
@NitishKumar06 please reply “done” on each item to make it clear |
@nrmancuso This PR is ready to be merged now! |
Fix: #12228