ClientServer/Server/pull-latest.sh
TG9six 03a642d635 first push
first push
2025-09-06 17:17:39 +04:00

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