$ git clone -n https://gitee.com/sunkeai/logrotate.git /var/lib/mock/dist-an8.6-build-93784-45467/root/chroot_tmpdir/scmroot/logrotate Cloning into '/var/lib/mock/dist-an8.6-build-93784-45467/root/chroot_tmpdir/scmroot/logrotate'... $ git reset --hard 5d778858a11097bd871f2aefa7627ad41306d69d HEAD is now at 5d77885 readme: add desc for branch