Re: Replacement for cvs2cl, for generating ChangeLog
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 27, 2007, 12:37 UTC
- Message-ID
- <Pine.LNX.4.63.0702271336050.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <877iu3q13r.fsf@latte.josefsson.org>
Hi,
On Tue, 27 Feb 2007, Simon Josefsson wrote:
Show 6 quoted lines
> 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.
Show 12 quoted lines
> * 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@josefsson.org> > > * 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