# Re: [PATCH] Add note about needing to do 'git checkout -f master'.

2 messages from 2007-02-13 to 2007-02-13. Participants: Johannes Schindelin, Junio C Hamano.
Thread: https://gitlist.dev/t/6807

## Johannes Schindelin, 2007-02-13 17:58

Subject: Re: [PATCH] Add note about needing to do 'git checkout -f master'.
Message-ID: <Pine.LNX.4.63.0702131857460.22628@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0702131857460.22628%40wbgn013.biozentrum.uni-wuerzburg.de
In-Reply-To: <1171302581735-git-send-email->

```
Hi,

On Mon, 12 Feb 2007, Richard W.M. Jones wrote:

> From: Richard Jones <rjones@redhat.com>
> 
> ---
>  Documentation/git-cvsimport.txt |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt
> index f5450de..7b43ed4 100644
> --- a/Documentation/git-cvsimport.txt
> +++ b/Documentation/git-cvsimport.txt
> @@ -138,6 +138,12 @@ If '-v' is specified, the script reports what it is doing.
>  Otherwise, success is indicated the Unix way, i.e. by simply exiting with
>  a zero exit status.
>  
> +NOTES
> +-----
> +If importing for the first time into a directory (-C option),
> +after the import do 'git checkout -f master' in the new
> +directory.
> +
>  
>  Author
>  ------
> -- 
> 1.4.4.2

AFAICT this is no longer necessary in 1.5.0.

Ciao,
Dscho

```

## Junio C Hamano, 2007-02-13 18:09

Subject: Re: [PATCH] Add note about needing to do 'git checkout -f master'.
Message-ID: <7vps8evsi9.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vps8evsi9.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <Pine.LNX.4.63.0702131857460.22628@wbgn013.biozentrum.uni-wuerzburg.de>

```
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:

> Hi,
>
> On Mon, 12 Feb 2007, Richard W.M. Jones wrote:
>
>> From: Richard Jones <rjones@redhat.com>
>> 
>> ---
>>  Documentation/git-cvsimport.txt |    6 ++++++
>>  1 files changed, 6 insertions(+), 0 deletions(-)
>> 
>> diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt
>> index f5450de..7b43ed4 100644
>> --- a/Documentation/git-cvsimport.txt
>> +++ b/Documentation/git-cvsimport.txt
>> @@ -138,6 +138,12 @@ If '-v' is specified, the script reports what it is doing.
>>  Otherwise, success is indicated the Unix way, i.e. by simply exiting with
>>  a zero exit status.
>>  
>> +NOTES
>> +-----
>> +If importing for the first time into a directory (-C option),
>> +after the import do 'git checkout -f master' in the new
>> +directory.
>> +
>>  
>>  Author
>>  ------
>> -- 
>> 1.4.4.2
>
> AFAICT this is no longer necessary in 1.5.0.

I think you are right.  I always run cvsimport with -i so I was
confused ;-).

```
