$ git clone -n https://gitee.com/sys0613/xorg-x11-drv-ati.git /var/lib/mock/dist-an7_9-updates-build-231804-62501/root/chroot_tmpdir/scmroot/xorg-x11-drv-ati Cloning into '/var/lib/mock/dist-an7_9-updates-build-231804-62501/root/chroot_tmpdir/scmroot/xorg-x11-drv-ati'... $ git reset --hard 46f80e46a2651beeeb9087be9886870be0d2190f HEAD is now at 46f80e4 use extern in header files when declaring global variables