$ git clone -n https://gitee.com/wenyuzifang/python-incremental.git /var/lib/mock/dist-an23-build-472018-74118/root/chroot_tmpdir/scmroot/python-incremental Cloning into '/var/lib/mock/dist-an23-build-472018-74118/root/chroot_tmpdir/scmroot/python-incremental'... $ git fetch origin bcb133e17dba5786823b6c5a3349573a551f7e55:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/python-incremental * [new ref] bcb133e17dba5786823b6c5a3349573a551f7e55 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bcb133e Update code from upstream