Wireshark-dev: Re: [Wireshark-dev] Sample command line workflow with git and gerrit

From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Tue, 25 Feb 2014 20:12:26 -0500
On 2/25/2014 7:50 PM, Hadriel Kaplan wrote:

On Feb 25, 2014, at 7:06 PM, Joerg Mayer <jmayer@xxxxxxxxx> wrote: gerrit

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)

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


+1

It's been a bit slow & painful learning how to do things.

(I haven't yet read the latest updates to the dev docs on all this so maybe that covers the needed info).

Bill