Script to change git remote url to gitbox

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Script to change git remote url to gitbox

sebb-2-2
In case it's useful, here is a Unix shell command to change the
current git repo from git-wit-us to gitbox:

git remote set-url origin $(git remote get-url origin | sed -e
s/git-wip-us.apache.org/gitbox.apache.org/)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Script to change git remote url to gitbox

Rob Tompkins
++I (we) need to change all of the sites to accommodate for the new location. But I’m AFK currently.

Cheers,
-Rob

> On Dec 17, 2018, at 4:09 PM, sebb <[hidden email]> wrote:
>
> In case it's useful, here is a Unix shell command to change the
> current git repo from git-wit-us to gitbox:
>
> git remote set-url origin $(git remote get-url origin | sed -e
> s/git-wip-us.apache.org/gitbox.apache.org/)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]