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