https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13575

--- Comment #6 from Peter Wu <pe...@lekensteyn.nl> ---
(In reply to Xiaochuan Sun from comment #5)
> I have many local commits and don't know how to push a signle commit to
> remote for review. Can you help commit this simple fix directly?

I will try to help, how familiar are you with git, do you have a SSH key?

To upload a change you need to create an account at
https://code.wireshark.org/review/ and configure a SSH key. (In the following
instructions I will assume the username "xiaochsu", but please change it if you
pick something else.)

Once you have done that, you can upload your single change as follows:

1. Use the "git log" command to figure out the commit that you want to publish.
Let's assume that the first chars of the commit hash is 1234abcdef
2. Create a new branch for the single fix, based on the latest code:

    git checkout -b bug/13575 origin/master

3. Apply the commit from step 1:

    git cherry-pick 1234abcdef

4. Push the patch:

    git push ssh://xiaoc...@code.wireshark.org:29418/wireshark
HEAD:refs/for/master/bug/13575


Note that the commit message must contain a "Change-Id" tag, this is used by
the review system to track multiple revisions of the same change. If you have
installed the "git-review" tool and ran "git review -s", it should have
installed a ".git/hooks/commit-msg" file that automatically adds this line.

There seem to be more instructions here:
https://wiki.wireshark.org/Development/SubmittingPatches

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to