$ git clone -n https://gitee.com/ywyw22/syslinux /var/lib/mock/dist-an7_9-updates-build-161718-52034/root/chroot_tmpdir/scmroot/syslinux Cloning into '/var/lib/mock/dist-an7_9-updates-build-161718-52034/root/chroot_tmpdir/scmroot/syslinux'... $ git reset --hard 88c0b8a2d7b5cdb1b8197bc25317056e986436d1 HEAD is now at 88c0b8a use extern in header files when declaring global variables