script can be used on any git repo
This commit is contained in:
parent
c09b531f83
commit
ab002e27c5
1 changed files with 6 additions and 1 deletions
|
@ -1,2 +1,7 @@
|
|||
#this command changes the git repo from HTTPS to SSH so you can use the key instead of typing in your password all the time.
|
||||
git remote set-url origin git@github.com:steveokard/stevset.git
|
||||
USER=steveokard
|
||||
if [ -n "$1" ]
|
||||
then
|
||||
git remote set-url origin git@github.com:$USER/$1.git
|
||||
git remote -v
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue