$ git clone -n https://gitee.com/wenyuzifang/gpm.git /var/lib/mock/dist-an23-build-469286-74027/root/chroot_tmpdir/scmroot/gpm Cloning into '/var/lib/mock/dist-an23-build-469286-74027/root/chroot_tmpdir/scmroot/gpm'... $ git fetch origin 6e9994fe9a24400831979926b580204a253a781a:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/gpm * [new ref] 6e9994fe9a24400831979926b580204a253a781a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6e9994f Update code from upstream