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