$ git clone -n https://gitee.com/wency_cn/python-build.git /var/lib/mock/dist-an23-build-492829-74562/root/chroot_tmpdir/scmroot/python-build Cloning into '/var/lib/mock/dist-an23-build-492829-74562/root/chroot_tmpdir/scmroot/python-build'... $ git fetch origin 3cd36f44674df1baab9108c6ec8d042d94b6906a:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/python-build * [new ref] 3cd36f44674df1baab9108c6ec8d042d94b6906a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3cd36f4 Update code from upstream