Fixed git reset scripts

This commit is contained in:
2018-07-27 14:32:39 -07:00
parent 2613d327ec
commit bb0afef84d
2 changed files with 9 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
cp -r software/ros_packages/ground_station/src/Maps ~/Maps_Backup
cp -r software/ros_packages/ground_station/src/Resources/Maps ~/Maps_Backup
git reset --hard
git clean -fdx
git pull
cp -r ~/Maps_Backup software/ros_packages/ground_station/src/Maps
cp -r ~/Maps_Backup software/ros_packages/ground_station/src/Resources/Maps