$ git clone -n https://gitee.com/U2FsdGVkX1/libcap.git /var/lib/mock/dist-an23-build-323200-68397/root/chroot_tmpdir/scmroot/libcap Cloning into '/var/lib/mock/dist-an23-build-323200-68397/root/chroot_tmpdir/scmroot/libcap'... $ git fetch origin ddea8bdc26951e391a3b380d5bc111aaa505e189:KOJI_FETCH_HEAD From https://gitee.com/U2FsdGVkX1/libcap * [new ref] ddea8bdc26951e391a3b380d5bc111aaa505e189 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ddea8bd Fix library path error of .pc file under some archs