ihm_client/.ssh-config
Nicolas Cantu 4a5fdbed90
Some checks failed
CI/CD Pipeline / test (push) Failing after 14s
CI/CD Pipeline / security (push) Has been skipped
CI/CD Pipeline / integration-test (push) Has been skipped
Auto-commit 2025-08-25 16:59:19
2025-08-25 16:59:19 +02:00

19 lines
694 B
Plaintext

# Configuration SSH automatique pour ihm_client
# Généré le lun. 25 août 2025 16:59:11 CEST
# Configuration Git
git config --global url."git@git.4nkweb.com:".insteadOf "https://git.4nkweb.com/"
# Alias Git
git config --global alias.ssh-push '!f() { git add . && git commit -m "${1:-Auto-commit $(date)}" && git push origin $(git branch --show-current); }; f'
git config --global alias.quick-push '!f() { git add . && git commit -m "Update $(date)" && git push origin $(git branch --show-current); }; f'
# Test SSH
ssh -T git@git.4nkweb.com
# Scripts disponibles
./scripts/auto-ssh-push.sh quick
./scripts/auto-ssh-push.sh message "Mon message"
git ssh-push "Mon message"
git quick-push