Skip to content
Snippets Groups Projects
Commit 75c14a78 authored by Andreas Schärtl's avatar Andreas Schärtl
Browse files

add reset-libraries.sh

parent ea8b305b
No related branches found
No related tags found
No related merge requests found
#! /bin/sh
# reset git submodules in this directory
set -eu
reset_repo() {
(
cd "$1"
git reset --hard
git clean -f
)
}
base=$(dirname "$0")
reset_repo "$base"/libraries/coq
reset_repo "$base"/libraries/isabelle-distribution
reset_repo "$base"/libraries/isabelle-afp
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment