Where can I find the new git repository?

Matthias Apitz guru at unixarea.de
Sat Dec 26 11:01:06 UTC 2020


El día viernes, diciembre 25, 2020 a las 05:28:18p. m. +0300, Vasily Postnicov escribió:

> 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.

I did yesterday:

$ git clone -o freebsd --config remote.freebsd.fetch='+refs/notes/*:refs/notes/*' --depth 1   https://git.freebsd.org/src.git freebsd-src

But when I do today:

$ cd freebsd-src
$ git diff

It does not show any diffs against the upstream head. I think, it does
not go even to Internet with this command. If I locally modify a file,
the diff is shown.

	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