$ git clone -n https://gitee.com/wenjie2025/squid.git /var/lib/mock/dist-an23-build-508983-75015/root/chroot_tmpdir/scmroot/squid Cloning into '/var/lib/mock/dist-an23-build-508983-75015/root/chroot_tmpdir/scmroot/squid'... $ git fetch origin 2ae1dd5f3e60a326a8642c6ff8b5c6ed10dc72dd:KOJI_FETCH_HEAD From https://gitee.com/wenjie2025/squid * [new ref] 2ae1dd5f3e60a326a8642c6ff8b5c6ed10dc72dd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2ae1dd5 Update code from upstream