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