$ git clone -n https://gitee.com/Alihq/dhcp.git /var/lib/mock/dist-an23-build-195642-60901/root/chroot_tmpdir/scmroot/dhcp Cloning into '/var/lib/mock/dist-an23-build-195642-60901/root/chroot_tmpdir/scmroot/dhcp'... $ git fetch origin 5d7206b1391cc5391cbfd10d63e546313dd6d253:KOJI_FETCH_HEAD From https://gitee.com/Alihq/dhcp * [new ref] 5d7206b1391cc5391cbfd10d63e546313dd6d253 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5d7206b update to 4.4.3-P1