Where can I find the new git repository?

Vasily Postnicov shamaz.mazum at gmail.com
Fri Dec 25 14:28:31 UTC 2020


AFAIK, you can use git clone --depth 1 <repository> [<directory>] to limit
history to the last commit. You can compare your current tree to INDEX with
git diff. Also you can use the same command to print the difference between
commits, e.g. git diff master~10 master shows you changes made in the last
11 commits on master.

пт, 25 дек. 2020 г. в 16:56, Matthias Apitz <guru at unixarea.de>:

> El día viernes, diciembre 25, 2020 a las 04:27:40p. m. +0300, Vasily
> Postnicov escribió:
>
> > > What I do not understand is the high number of objects 4249534 compared
> >>  with
> >>  the number of files in /usr/src
> >
> > With git you clone the whole repository, not just the working tree.
>
> Is there an option for git to get only the current working tree to
> compile it? And how could I compare later with the current tree (like a
> svn diff ....
> does)?
>
>         matthias
>
> --
> Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/
> +49-176-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub
> Без книги нет знания, без знания нет коммунизма (Влaдимир Ильич Ленин)
> Without books no knowledge - without knowledge no communism (Vladimir
> Ilyich Lenin)
> Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich
> Lenin)
>


More information about the freebsd-questions mailing list