$ git clone -n https://src.fedoraproject.org/rpms/libarchive.git /var/lib/mock/f31-build-58157-28409/root/chroot_tmpdir/scmroot/libarchive Cloning into '/var/lib/mock/f31-build-58157-28409/root/chroot_tmpdir/scmroot/libarchive'... $ git reset --hard 883c0bc50d9eb214ad22e94891f7f70dd9f75edc HEAD is now at 883c0bc fixup dates in changelog