$ git clone -n https://gitee.com/yangcheng1203/osinfo-db.git /var/lib/mock/dist-an23-build-446670-73363/root/chroot_tmpdir/scmroot/osinfo-db Cloning into '/var/lib/mock/dist-an23-build-446670-73363/root/chroot_tmpdir/scmroot/osinfo-db'... $ git fetch origin 04c35b138558811738041eba5472b3ff000d18cb:KOJI_FETCH_HEAD From https://gitee.com/yangcheng1203/osinfo-db * [new ref] 04c35b138558811738041eba5472b3ff000d18cb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 04c35b1 change source0 to fix bug