$ git clone -n https://gitee.com/mabofu/dsms.git /var/lib/mock/dist-an23-build-275835-64320/root/chroot_tmpdir/scmroot/dsms Cloning into '/var/lib/mock/dist-an23-build-275835-64320/root/chroot_tmpdir/scmroot/dsms'... $ git fetch origin a446b8dc7f621891c4618469a282c8575d97bcaa:KOJI_FETCH_HEAD From https://gitee.com/mabofu/dsms * [new ref] a446b8dc7f621891c4618469a282c8575d97bcaa -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a446b8d init from upstream