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