$ git clone -n https://gitee.com/src-anolis-os/minicom.git /var/lib/mock/dist-an8-build-73989-38952/root/chroot_tmpdir/scmroot/minicom Cloning into '/var/lib/mock/dist-an8-build-73989-38952/root/chroot_tmpdir/scmroot/minicom'... $ git reset --hard origin/a8 HEAD is now at 6e11343 use extern in header files when declaring global variables