$ git clone -n https://gitee.com/yueeranna/hdf5.git /var/lib/mock/dist-an23-build-274651-64241/root/chroot_tmpdir/scmroot/hdf5 Cloning into '/var/lib/mock/dist-an23-build-274651-64241/root/chroot_tmpdir/scmroot/hdf5'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/yueeranna/hdf5 * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c74a718 init from upstream