$ git clone -n https://gitee.com/wenyuzifang/iso-codes.git /var/lib/mock/dist-an23-build-450363-73460/root/chroot_tmpdir/scmroot/iso-codes Cloning into '/var/lib/mock/dist-an23-build-450363-73460/root/chroot_tmpdir/scmroot/iso-codes'... $ git fetch origin a6c9b48def3a1a1d9ff488d39547318c596d1981:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/iso-codes * [new ref] a6c9b48def3a1a1d9ff488d39547318c596d1981 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a6c9b48 Update code from upstream