RFR: Section on cloning [v2]

Jesper Wilhelmsson jwilhelm at openjdk.java.net
Thu Aug 12 19:50:04 UTC 2021


On Wed, 11 Aug 2021 00:05:05 GMT, Stuart Marks <smarks at openjdk.org> wrote:

>> Jesper Wilhelmsson has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Moved SSH key section
>
> src/index.md line 1006:
> 
>> 1004: 
>> 1005:     $ git checkout master
>> 1006:     $ git checkout -b my-fix
> 
> I'm not sure whether we should recomment "git checkout -b" or "git switch -c". I think switch is safer, but the doc says that it's experimental....

Added a git switch example as well.

-------------

PR: https://git.openjdk.java.net/guide/pull/59


More information about the guide-dev mailing list