$ git clone -n https://gitee.com/fundawang/squid.git /var/lib/mock/dist-an23-build-324050-68521/root/chroot_tmpdir/scmroot/squid Cloning into '/var/lib/mock/dist-an23-build-324050-68521/root/chroot_tmpdir/scmroot/squid'... $ git fetch origin bdfa74ff443a8ff19f0717c14c4b7eb2504da8da:KOJI_FETCH_HEAD From https://gitee.com/fundawang/squid * [new ref] bdfa74ff443a8ff19f0717c14c4b7eb2504da8da -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bdfa74f update