$ git clone -n https://gitee.com/happy_orange/log4cpp.git /var/lib/mock/dist-an8.6-build-107784-45681/root/chroot_tmpdir/scmroot/log4cpp Cloning into '/var/lib/mock/dist-an8.6-build-107784-45681/root/chroot_tmpdir/scmroot/log4cpp'... $ git reset --hard 8b9a96d5e6153e28a4bae696a3b2712e2677b7b7 HEAD is now at 8b9a96d daa static package