$ git clone -n https://gitee.com/happy_orange/perl-Switch.git /var/lib/mock/dist-an23-build-342175-69949/root/chroot_tmpdir/scmroot/perl-Switch Cloning into '/var/lib/mock/dist-an23-build-342175-69949/root/chroot_tmpdir/scmroot/perl-Switch'... $ git fetch origin 5b628bd6f03fcc6f9ec9103723ee2786bf87afc0:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/perl-Switch * [new ref] 5b628bd6f03fcc6f9ec9103723ee2786bf87afc0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5b628bd fix the source error