Hi, On Tue, 27 Feb 2007, Simon Josefsson wrote: > Hi! I'm considering switching to git for my projects (shishi, gsasl, > gnutls, libtasn1, opencdk, ...) and I have some questions: > > * How do I discard all locally modified or added files? 'cvs upd -C' > does some of that, but I've been using a tool 'cvsco' which quickly > restore a CVS checkout into a pristine state. The command in git is called "git reset --hard". Beware: this really, really loses _all_ local changes. And no need to worry when it completes much faster than you expected it to... See "git status" to see that it worked, indeed. > * Is there a tool that produce ChangeLog files in the GNU format, > based on the git logs? Similar to the 'cvs2cl' tool. The output > should look like: > > 2007-02-22 Simon Josefsson <simon@xxxxxxxxxxxxx> > > * link-warning.h, gl/getaddrinfo.c, gl/gnulib.mk, gl/string_.h, > gl/m4/gnulib-comp.m4, gl/m4/string_h.m4, lgl/Makefile.am, > lgl/snprintf.c, lgl/snprintf.h, lgl/stdio_.h, lgl/string_.h, > lgl/unistd_.h, lgl/m4/gnulib-comp.m4, lgl/m4/intdiv0.m4, > lgl/m4/snprintf.m4, lgl/m4/stdio_h.m4, lgl/m4/string_h.m4, > lgl/m4/unistd_h.m4: Update. Let me hack something. Ciao, Dscho - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html