19 lines
694 B
Plaintext
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
|