summaryrefslogtreecommitdiff
path: root/.local/bin/development/gitpush
diff options
context:
space:
mode:
authorVikas Kushwaha <dev@vikas.rocks>2025-05-21 14:30:00 +0530
committerVikas Kushwaha <dev@vikas.rocks>2025-05-21 14:30:00 +0530
commit0d397e4d3d204a1e016c0863815f0b5dc516c46b (patch)
tree5e5db5a8b53555783ca3b5679bc21876e9de0b6c /.local/bin/development/gitpush
parente55ad8ca4f99fa024106d5695a55f9ac132d7b68 (diff)
added some new scripts and cleaned up nvim directory
Diffstat (limited to '.local/bin/development/gitpush')
-rwxr-xr-x.local/bin/development/gitpush6
1 files changed, 0 insertions, 6 deletions
diff --git a/.local/bin/development/gitpush b/.local/bin/development/gitpush
index 7774a7b..2c503ca 100755
--- a/.local/bin/development/gitpush
+++ b/.local/bin/development/gitpush
@@ -1,12 +1,6 @@
#!/bin/sh
push_to_remote() {
- case "$(git config --get remote.origin.url)" in
- *csstudent41*) sshadd ~/.ssh/github.com_id_ed25519 ;;
- *labstudent41*) sshadd ~/.ssh/labstudent41_id_ed25519 ;;
- *vtc-tech*) sshadd ~/.ssh/vartaktechclub_id_ed25519 ;;
- esac
-
git add --all
git commit && git push -u origin
}