$ git clone -n https://gitee.com/mgb01105731/dhcp.git /var/lib/mock/dist-an23-build-125617-46161/root/chroot_tmpdir/scmroot/dhcp Cloning into '/var/lib/mock/dist-an23-build-125617-46161/root/chroot_tmpdir/scmroot/dhcp'... $ git reset --hard origin/a23 HEAD is now at 703ac13 update to 4.4.3