$ git clone -n https://gitee.com/wency_cn/libesmtp.git /var/lib/mock/dist-an23-build-502351-74802/root/chroot_tmpdir/scmroot/libesmtp Cloning into '/var/lib/mock/dist-an23-build-502351-74802/root/chroot_tmpdir/scmroot/libesmtp'... $ git fetch origin 14c62849025cc6a70ee902ce189190ff61cea8f7:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/libesmtp * [new ref] 14c62849025cc6a70ee902ce189190ff61cea8f7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 14c6284 Update code from upstream