Skip to content
Snippets Groups Projects
Commit 1a2fb2bd authored by Marvin Poul's avatar Marvin Poul
Browse files

Add update script

parent e86a855d
No related branches found
No related tags found
1 merge request!22Add update script
#!/bin/bash
cd $HOME
if [[ ! -d workshop_preparation ]]; then
git clone https://git.noc.ruhr-uni-bochum.de/potentials-workshop-2022/workshop_preparation.git
fi
cd workshop_preparation
echo "Force update of notebooks: This will overwrite your changes, backup now!";
echo "Press enter to continue: "
if read -r; then
git checkout main -- '*'
git pull --force
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment