$ git clone -n https://gitee.com/happy_orange/ipxe.git /var/lib/mock/dist-an23-build-97176-45580/root/chroot_tmpdir/scmroot/ipxe Cloning into '/var/lib/mock/dist-an23-build-97176-45580/root/chroot_tmpdir/scmroot/ipxe'... $ git reset --hard 3262527aba0caf0638e045c6a0af0ef08c636f73 HEAD is now at 3262527 init pacakge from upstream