$ git clone -n https://gitee.com/happy_orange/busybox.git /var/lib/mock/dist-an23-build-183964-60260/root/chroot_tmpdir/scmroot/busybox Cloning into '/var/lib/mock/dist-an23-build-183964-60260/root/chroot_tmpdir/scmroot/busybox'... $ git fetch origin dd57662c0332757b3f9e6f75a73116dc0e098295:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/busybox * [new ref] dd57662c0332757b3f9e6f75a73116dc0e098295 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dd57662 init paackage