summaryrefslogtreecommitdiff
path: root/.local/bin/development/gitpush
blob: 97aa43b7d5e5bd38fad2d73ca404e9ebd75366f4 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

case "$(git config --get remote.origin.url)" in
	*csstudent41*) sshadd ~/.ssh/github.com_id_ed25519 ;;
	*labstudent41*) sshadd ~/.ssh/labstudent41_id_ed25519 ;;
esac

git add --all
git commit  # --allow-empty-message
git push -u origin