Several new scripts added
This commit is contained in:
parent
1809ffacb3
commit
cdbcc9692a
5 changed files with 82 additions and 0 deletions
3
misc/git-http-to-git
Executable file
3
misc/git-http-to-git
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/zsh
|
||||
remote=${1:-origin}
|
||||
git remote set-url $remote $(git remote get-url $remote | sed -e 's#https?://\([^/]*\)/#git@\1:#')
|
Loading…
Add table
Add a link
Reference in a new issue