Wireshark mailing list archives

Re: Setting up git for gerrit


From: Dario Lombardo <dario.lombardo.ml () gmail com>
Date: Mon, 30 Nov 2015 12:30:39 +0100

On Mon, Nov 30, 2015 at 12:11 PM, Graham Bloice <graham.bloice () trihedral com
wrote:

Unfortunately I've never run git over http(s), so have no advice to
offer.  I suggest you continue without the luxury of git-review for the
moment.

A quick hack for pushing to gerrit without git-review is to add this to
.gitconfig

[alias]
  push-wireshark = "!git push origin HEAD:refs/for/master/`git rev-parse
--abbrev-ref HEAD`"

if you run git push-wireshark it pushes the current branch to gerrit using
the current branch name as topic. Just be sure your origin remote points to
a working one you can push on manually.

my 2 cents.
Dario.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: