$ git clone -n https://gitee.com/lzq11122/pcre.git /var/lib/mock/dist-an23-build-461994-73793/root/chroot_tmpdir/scmroot/pcre Cloning into '/var/lib/mock/dist-an23-build-461994-73793/root/chroot_tmpdir/scmroot/pcre'... $ git fetch origin b21c591134c32316a9243863e8ccd23f1b7b4cdd:KOJI_FETCH_HEAD From https://gitee.com/lzq11122/pcre * [new ref] b21c591134c32316a9243863e8ccd23f1b7b4cdd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b21c591 fix build error for sw_64