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