Forest_Client/Tool/Luban/git.sh

7 lines
83 B
Bash

#!/bin/bash
cd ..
git fetch origin
git checkout main
git reset --hard origin/main