$ git clone -n https://gitee.com/zhangting0411/xorg-x11-drv-ati.git /var/lib/mock/dist-an23-build-228545-62409/root/chroot_tmpdir/scmroot/xorg-x11-drv-ati Cloning into '/var/lib/mock/dist-an23-build-228545-62409/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