$ git clone -n https://git.cclinux.org/stage/rpms/giflib /var/lib/mock/dist-circle8-build-13054-2848/root/chroot_tmpdir/scmroot/giflib Cloning into '/var/lib/mock/dist-circle8-build-13054-2848/root/chroot_tmpdir/scmroot/giflib'... warning: redirecting to https://git.cclinux.org/stage/rpms/giflib.git/ $ git reset --hard 3bb0dfb0dc0ef94703c43158d0d210a8269cc8fb HEAD is now at 3bb0dfb import giflib-5.1.4-3.el8