-
Notifications
You must be signed in to change notification settings - Fork 689
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
Add documentation about document configuration #1112
Conversation
Thank you for your contribution. Could you please make Rubocop happy? |
Sure, done. |
Great! Could you please rebase your branch on master and squash the commits? |
Not sure I did this right |
Yeah, doesn't look right. I'll do it locally and merge it later. Or let me know if you need help if you want to do it yourself. |
If you don't mind, help me do it. |
The gist of it is right. However, you rebased on your master. It's not the same as Prawn master. There are many way of doing this, as often. So I'll describe what I do. You may find a slightly different approach if you google or adapt this to what you're familiar with but in the end it should be the same. GitHub is not very convenient for keeping up with the upstream repos. I usually add another remote to my local repo: git remote add upstream git@github.com:prawnpdf/prawn.git Then I make sure it's up to date: git pull upstream Then I make sure my local master is in sync with the upstream, or convenience: git checkout master
git rebase upstream/master Then rebase your branch on top of that. Technically, you can rebase on top of git checkout patch-1 # your PR branch
git rebase -i master Then (force) push your rebase branch to GH. |
Not sure what happened, I ended up on a detached head. After
I went on a fixed the conflicts, added the files,
Not sure what to do, I tried |
This happens when your next commit in the queue has no changes. Usually this means that the base branch already contains the changes. Git stops because your commit is not only code changes. It's also a commit message which might contain important information. You have two choices:
In most cases it's OK to skip commit. You do this by running If you want to preserve commit message even when there's no changes to the code you need to run I suggest you finish this rebase and then try once more to remove the empty commit. |
Echoes prawnpdf#802 Rubocoped Rubocoped
That should do it, let me know. |
Thank you! |
Echoes #802.
I had seen the greeter example in the docs but missed the comment on the document method. I thought it might be helpful to include it in the example as well.