-
Notifications
You must be signed in to change notification settings - Fork 4
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
Improve suggestion on what to do if --signoff
is missing
#6
Comments
Recent git versions have an option git remote update
git rebase --signoff @{upstream} |
Sorry, but I am not very good at using Git, so please excuse a maybe n00bie question. Should it be sufficient to write exactly that and only that or do I need to replace something like the I am asking because I tried that with a dummy git repository + a fork, but that didn't work ... In case I am just to stupid, it would be great if these lines could be shown automatically in the PR. Currently one has to dig into the LOG of the action to see the advice. Thank you in advance for your time! |
You have demonstrated that the instructions are not robust enough. I suggest the following, which should work for a typical setup for clones of the main pgf/tikz repo: git fetch origin master
git rebase --signoff origin/master I have changed the first command to download less: just what is needed to be up to date. My guess in your case |
Hmm, also this doesn't work for me. Maybe this is a Windows issue. I tested with Git for Windows v2.34.1. What did work for me is
where Of course your proposals are much better than mine, because I hope that all commits in the PR/branch are signed. |
@Mo-Gul if the last commit missed the sign-off, you can use |
Currently the user "only" receives
dco/libs/helper.js
Lines 9 to 12 in f2279e6
when not all commits are signed-off.
That is good information on what the user should do the next time when contributing to the repo. But it doesn't help much to fix the current PR. Since I am only/still a beginner at git I have no good suggestion myself, but had seen
in this comment. Assuming that this advice is useful, would it be worth to adapt
helper.js
accordingly?The text was updated successfully, but these errors were encountered: