ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

From: Hadriel Kaplan <hadriel.kaplan@xxxxxxxxxx>
Date: Tue, 25 Feb 2014 19:50:05 -0500
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)

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