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