diff options
| author | Craig Jennings <craigmartinjennings@gmail.com> | 2023-08-20 18:08:30 -0500 |
|---|---|---|
| committer | Craig Jennings <craigmartinjennings@gmail.com> | 2023-08-20 18:08:30 -0500 |
| commit | 6d3b5bd531d06731e101410d3fe1101ea3ea4e85 (patch) | |
| tree | 13c1bf57bc0849c3788e2425cc29a6a5b489e632 /assets | |
| parent | b8679939894e989a6ad8f422396c63d249bd631b (diff) | |
adding git repositories script
Diffstat (limited to 'assets')
| -rwxr-xr-x | assets/gitrepos.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/assets/gitrepos.sh b/assets/gitrepos.sh new file mode 100755 index 0000000..b33c72c --- /dev/null +++ b/assets/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 |
