Wireshark-dev: Re: [Wireshark-dev] Sample command line workflow with git and gerrit
From: Evan Huus <eapache@xxxxxxxxx>
Date: Tue, 25 Feb 2014 20:14:00 -0500
On Tue, Feb 25, 2014 at 7:50 PM, Hadriel Kaplan
<hadriel.kaplan@xxxxxxxxxx> wrote:
>
> On Feb 25, 2014, at 7:06 PM, Joerg Mayer <jmayer@xxxxxxxxx> wrote:
>
>> jmayer@egg:~/work/wireshark/git(master)> git branch newsupdate
>> jmayer@egg:~/work/wireshark/git(master)> git checkout newsupdate
>> Switched to branch 'newsupdate'
>
> % git checkout -b newsupdate
>
> would have created the branch and checked it out at the same time
> (or 'git checkout -b newsupdate master' if you weren't in master at the time of issuing the command, but wanted to create the branch off of master)

+1, you beat me to it :)

> -hadriel
> p.s. I think this stuff really needs to go into a wiki page.

We also have the developer guide ([1] and friends). Ideally this
information would only live in one place, though there doesn't seem to
be a consensus as to where that is (wiki, README, developer guide).

[1] https://www.wireshark.org/docs/wsdg_html_chunked/ChSrcContribute.html