$ git clone -n https://gitee.com/mgb01105731/capstone.git /var/lib/mock/dist-an23-build-340182-69815/root/chroot_tmpdir/scmroot/capstone Cloning into '/var/lib/mock/dist-an23-build-340182-69815/root/chroot_tmpdir/scmroot/capstone'... $ git fetch origin 1b7d1a662588fc5952e06636f94a392c9a9a7b53:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/capstone * [new ref] 1b7d1a662588fc5952e06636f94a392c9a9a7b53 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1b7d1a6 update to version 5.0.1