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