$ git clone -n https://gitee.com/happy_orange/log4cpp.git /var/lib/mock/dist-an23-build-119726-45963/root/chroot_tmpdir/scmroot/log4cpp Cloning into '/var/lib/mock/dist-an23-build-119726-45963/root/chroot_tmpdir/scmroot/log4cpp'... $ git reset --hard fce69e74dcb04f7b070348e20ab7faf985dca225 HEAD is now at fce69e7 init package