-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On 07.08.2012 18:39, Jonathan Nieder wrote:
>> Last time when I needed "git checkout --orphan", it created
>> branch
>>> without any files.
> I'm pretty sure it always had the current semantics. Perhaps the
> index did not contain any files before
Hi Mika,
Mika Suomalainen wrote:
> Last time when I needed "git checkout --orphan", it created branch
> without any files.
I'm pretty sure it always had the current semantics. Perhaps the
index did not contain any files before you ran "git checkout --orphan"
last time?
[...]
> I don't think th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On 07.08.2012 18:19, Jonathan Nieder wrote:
> git-checkout(1) explains:
>
> If you want to start a disconnected history that records a set of
> paths that is totally different from the one of , then
> you should clear the index and the working tree
tags 684169 + upstream
# documentation
severity 684169 minor
reassign 684169 git-doc 1:1.7.10.4-1
quit
Hi Mika,
Mika Suomalainen wrote:
> git checkout --orphan somebranch
> touch something
> git add something
>
> And all files from branch before somebranch are git added.
git-checkout(1) explain
4 matches
Mail list logo