Hello git experts :-) I try to update change 6 [1] so that gerrit is happy.
For now the error is: "Gerrit Code Review 4:21 PM Project policy requires all submissions to be a fast-forward. Please rebase the change locally and upload again for review." So I used the OpenSC documentation at [2] and rebased my staging branch (from [3]) onto gerrit/staging. The commit "pkcs15-profile.xml: remove empty SYNOPSIS section" is now the first one on gerrit/staging. I edited the commit message to add a line: Change-Id: Id824eb62bc41f8f714bd6d67b6333ea07a527d70 to tell gerrit it is the same patch. Now I want to push this commit to gerrit. How do I do that? [2] only says: "Push your changes to be included in the "staging" branch git push <changes> gerrit:refs/for/staging git push some/branch gerrit:refs/for/staging git push <one-commit> gerrit:refs/for/staging " So I tried: $ git push 70852d9733e045df2dce4a85f3e50e66aa2195bc gerrit:refs/for/staging fatal: '70852d9733e045df2dce4a85f3e50e66aa2195bc' does not appear to be a git repository fatal: The remote end hung up unexpectedly What is the correct command to push only one patch? I found "git - pushing specific commit" [4] but it looks a bit overkill for now. Maybe something simpler is possible. Thanks [1] https://www.opensc-project.org/codereview/#change,6 [2] https://www.opensc-project.org/opensc/wiki/SourceCode [3] git://github.com/LudovicRousseau/OpenSC.git [4] http://stackoverflow.com/questions/3230074/git-pushing-specific-commit -- Dr. Ludovic Rousseau _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel