$ git clone -n https://gitee.com/wency_cn/gsm.git /var/lib/mock/dist-an23-build-491955-74553/root/chroot_tmpdir/scmroot/gsm Cloning into '/var/lib/mock/dist-an23-build-491955-74553/root/chroot_tmpdir/scmroot/gsm'... $ git fetch origin 1e4abc6968fd2cf6040c7d750c8762e6e6d6a777:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/gsm * [new ref] 1e4abc6968fd2cf6040c7d750c8762e6e6d6a777 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1e4abc6 Update code from upstream