$ git clone -n https://gitee.com/happy_orange/xmlsec1.git /var/lib/mock/dist-an23-build-341079-69863/root/chroot_tmpdir/scmroot/xmlsec1 Cloning into '/var/lib/mock/dist-an23-build-341079-69863/root/chroot_tmpdir/scmroot/xmlsec1'... $ git fetch origin b93786763594a7b244afb0222c25b7dd7340a1e0:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/xmlsec1 * [new ref] b93786763594a7b244afb0222c25b7dd7340a1e0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b937867 update to 1.2.38