summaryrefslogtreecommitdiff
path: root/scripts/gitrepos.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-11-11 08:35:57 -0600
committerCraig Jennings <c@cjennings.net>2024-11-11 08:36:11 -0600
commit6d3e5b049560cb1b9c1118a335b22b5aacdc5a6c (patch)
tree2363f2ed032b13c861d1abd9fcf6438f9b91e326 /scripts/gitrepos.sh
parentba912e8163bacd27ed85b993bee1084c71cd2cdf (diff)
moving things around
Diffstat (limited to 'scripts/gitrepos.sh')
-rwxr-xr-xscripts/gitrepos.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/gitrepos.sh b/scripts/gitrepos.sh
new file mode 100755
index 0000000..b33c72c
--- /dev/null
+++ b/scripts/gitrepos.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+# cjennings
+# replaces original http remote repositories with git ones
+
+cd ~/.emacs.d && git remote remove origin && git remote add origin git@cjennings.net:dotemacs.git && git pull --set-upstream origin main
+cd ~/.dotfiles.d && git remote remove origin && git remote add origin git@cjennings.net:dotfiles.git && git pull --set-upstream origin main