-----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 you ran "git checkout
> --orphan" last time?

The last time was when git webpage was refreshed and the "creating
empty branch" in git book was removed and the "git checkout --orphan"
command came. I am sure that the repository had files. I am not fully
sure, but the repository might be https://github.com/Mkaysi/Limnoria,
which contains orphan branches "scripts" and "master".

If it was "scripts", it was seven months ago or

> [...]
>>> I don't think that a new repository would be good for this,
>>> because my independ branches are mostly branches, which contain
>>> scripts, which should be easily accessible in the same
>>> repository and are highly related to the repository, which
>>> contains them.
> Sorry for the lack of clarity.  Here is what I mean:
> 
> cd my-repository remote_url=$(git config remote.origin.url)
> 
> mkdir Meta cd Meta git init git remote add origin
> remote.origin.url git checkout -b scripts vi nice-script chmod +x
> nice-script git add nice-script git commit git push origin scripts
> 
> cd .. Meta/nice-script
> 
> The result is that the remote repository contains both your code 
> ("master") and scripts ("scripts") and locally you have both
> available and do not have to keep switching between them.
> 
> The upstream git maintainer does this to maintain a "todo" branch
> with scripts and information about the state of different topic
> branches, for example.
> 
> Hoping that clarifies, Jonathan

I think so, thanks. I will star this issue and try this when I need
empty branch again.

- -- 
Mika Suomalainen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Public key: http://mkaysi.github.com/PGP/key.txt
Comment: gpg --keyserver pool.sks-keyservers.net --recv-keys 0x82A46728
Comment: Fingerprint = 24BC 1573 B8EE D666 D10A  AA65 4DB5 3CFE 82A4 6728
Comment: Why do I (clear)sign emails? http://git.io/6FLzWg
Comment: Please remove PGP lines in replies. http://git.io/nvHrDg
Comment: Charset of this message should be UTF-8.
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJQITjjAAoJEE21PP6CpGcon9sP/iBsjuFHVT3CrcOcLLZfexc0
r9gPsVqYTmmup/rNJZwvPLDzent69mu/f7wsdi6GRPtOvqYH03W125SwpJemb5wY
WPClG4PBOum5SZwI7iPgANRkjizC14em+FcV9BcBzI4+mABQ/WJx+p8TbWoYPqUk
tDoP0hItwhxSFILiQ2m0dzn7WAF6DF2TYtwFxZpH58V9wp9ITlM5kiCPvxiO9hxM
a47MtpYFlTjwouS5997neCvjQ5caVl1akKxlL501XvIgHRjl1Hsz+1dRf+mXyK2E
wa5egmOiR+NUncw47rEtA3wH206yDE9edG3CpTncuqYtcrNqI3Gbgv6NJcMxsTPC
xLNbczziyG8O1fqmDuzytn+/2VRYYVS4CTrEP4AKsXQU5ZrlE1iP+JCPVmZBmqRz
q/YVgXDKVao99RcWA9xSDFunXpP0AEhTh9M/v8Nw0rvrR+5EprHDkcWogN5jJxdB
8kLnf6CiZvNiNhLAPlBIAc6lYAYfHyu8vIHXTn4FGds4qD+RrByz/RNFJBbCbasw
4ZMi0DLZrlDcDGnXSb2mzZRcRKE1d/wgeRbx88/xe4OnUlIhiprsYRWWGgUAGf9E
lRcLs8mqclKxRkznUJiOsRysXELxHhVYkj77NSkakFNzDPacT0CXodDAKmxIvJ8y
HaBsVmn5vY+z69ZPZv3M
=Jkob
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to