-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fixed wording per https://github.com/docker/docker.github.io/issues/7281 #1578
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
Conversation
|
@andrewhsu PTAL. |
|
Related to docker/docs#7281 |
|
Issue is in docker.github.io: docker/docs#7281 |
Codecov Report
@@ Coverage Diff @@
## master #1578 +/- ##
=======================================
Coverage 55.25% 55.25%
=======================================
Files 289 289
Lines 19395 19395
=======================================
Hits 10716 10716
Misses 7983 7983
Partials 696 696 |
Codecov Report
@@ Coverage Diff @@
## master #1578 +/- ##
==========================================
- Coverage 55.26% 55.24% -0.02%
==========================================
Files 289 289
Lines 19385 19381 -4
==========================================
- Hits 10713 10707 -6
- Misses 7977 7978 +1
- Partials 695 696 +1 |
|
Please sign your commits following these rules: $ git clone -b "promote-node-7281" git@github.com:ahh-docker/cli.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842354056936
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -fAmending updates the existing PR. You DO NOT need to open a new one. |
|
@thaJeztah PTAL. Merge if it's ready. |
|
@ahh-docker can you squash your commits, and make sure it has a sign-off? Otherwise CI will fail |
|
@thaJeztah I think I did it. Can you check and see if it's gtg? |
|
Hmm. It think something went wrong, as I see a merge commit in there, and four commits total. Let me try describe the steps; Checkout your branch git checkout promote-node-7281Make sure your remotes are up-to-date (in my case the "upstream" points to git fetch upstream -v; git fetch origin -v; Start an interactive rebase against the "upstream master"; the "merge" commit should already dissappear, but to combine the changes of the other commits, we'll have to "squash" them; git rebase -i upstream/masterDoing the above should open your editor with something like below: pick f58964ed Fixed wording per https://github.com/docker/docker.github.io/issues/7281
pick c0f6aab4 Fixed wording per https://github.com/docker/docker.github.io/issues/7281
pick 581b7684 Update node_promote.md
# Rebase 6deb4f1f..150c3294 onto 6deb4f1f (3 commands)
#
# Commands:
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash", but discard this commit's log message
# x, exec = run command (the rest of the line) using shell
# d, drop = remove commit
#
# These lines can be re-ordered; they are executed from top to bottom.
#
# If you remove a line here THAT COMMIT WILL BE LOST.
#
# However, if you remove everything, the rebase will be aborted.
#
# Note that empty commits are commented outLooks like the first commit actually has a merge conclict, so we'll drop that one (which can be done either by changing Once you save the file, and exit your editor, another file is opened, allowing you to update the commit message of the combined commits; You could change it to, e.g. After you saved the description, the rebase/squash should be succesful, now you need to force push your changes to update the PR (assuming the remote pointing to your fork is named "origin"); |
|
So I got this far: Got some help.. moving on. |
Fixed wording per docker/docs#7281 Signed-off-by: Anne Henmi <anne.henmi@docker.com> Update node_promote.md
150c329 to
b03b9df
Compare
|
@thaJeztah Ok, I went through the steps and fixed it. Let me know if there's anything else it needs. PTAL again. Sorry. |
Ah, yes, that's why I usually recommend to use consistent names for your remotes, then you can work in any repository and always use the same commands (e.g. |
thaJeztah
left a comment
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.
Thanks! changes LGTM, but I was looking at other commands, and it looks like there's more to address. I did a quick attempt for an alternative in #1590 @ahh-docker let me know what you think of that approach (also left some comments on it that I could use some input on)
vdemeester
left a comment
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.
LGTM 🐯
Signed-off-by: Anne Henmi anne.henmi@docker.com
- What I did
- How I did it
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)