Re: [howto] Kernel hacker's guide to git, updated

Horst von Brand
2005-09-30T18:13:54Z

Jeff Garzik <jgarzik@pobox.com> wrote:
> Thanks for all the comments. I just updated the KHGtG with the
> feedback I received. Go to
>
> http://linux.yyz.us/git-howto.html
>
> and click reload. Continued criticism^H^H^Hcomments welcome!

- To know the current branch, "git branch" is enough (the one '*'-ed)
- rsync(1) a repository is dangerous, it might catch it in the middle of
a update and give you an incomplete/messed up copy. Repeat rsync until no
change, perhaps?
- I understand "git checkout -f" blows away any local changes, no questions
asked. Not very nice to suggest that to a newbie...

Thanks for the docu!
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513