11 lines
189 B
Bash
11 lines
189 B
Bash
![]() |
#!/bin/bash
|
||
|
cd /root/Server
|
||
|
|
||
|
echo "🔁 Resetting repo..."
|
||
|
git reset --hard
|
||
|
git clean -fdx
|
||
|
|
||
|
echo "⬇️ Pulling latest from GitHub..."
|
||
|
GIT_SSH_COMMAND="ssh -i ~/.ssh/github_rsa" git pull
|
||
|
|