$ git clone -n https://gitee.com/alpha-wang/pigz.git /var/lib/mock/dist-an23-build-357943-71155/root/chroot_tmpdir/scmroot/pigz Cloning into '/var/lib/mock/dist-an23-build-357943-71155/root/chroot_tmpdir/scmroot/pigz'... $ git fetch origin f02fdedf5b6a5ca703663642feaf27f2ceb28f7b:KOJI_FETCH_HEAD From https://gitee.com/alpha-wang/pigz * [new ref] f02fdedf5b6a5ca703663642feaf27f2ceb28f7b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f02fded download to 2.7