Skip to content

Instantly share code, notes, and snippets.

View Necrotyk's full-sized avatar
🌴
this is my status

shad0w Necrotyk

🌴
this is my status
  • dystopi
  • Antartica
View GitHub Profile
@Necrotyk
Necrotyk / gitstager.sh
Last active April 22, 2026 16:39
gitstager.sh
#!/usr/bin/env bash
set -e
# Force Git SSH transport to fail fast on network drops
export GIT_SSH_COMMAND="ssh -o ConnectTimeout=10 -o ServerAliveInterval=15 -o ServerAliveCountMax=3 -o BatchMode=yes"
# --- Core Definitions ---
REPO=""
TARGET_FILE=""
OUT_DIR=""