You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by Dale LaBossiere <dm...@gmail.com> on 2016/08/15 21:04:27 UTC
ASF git repo renames and you
With the quarks -> edgent ASF infrastructure changes, when I went to merge a PR using my existing git repo clones, my “merge-pr” script encountered:
fatal: repository 'https://git-wip-us.apache.org/repos/asf/incubator-quarks.git/' not found
Here’s what I did to my environment to account for the changes:
- To update your fork repository name/url: e.g., https://github.com/dlaboss/incubator-quarks <https://github.com/dlaboss/incubator-quarks>
Use the “settings” tab to rename your fork repository (this screenshot is post-rename)
- To update your fork’s clone - e.g., ~/git/incubator-quarks
$ cd ~/git/incubator-quarks
$ git remote -v # see the current remotes and update their urls (I have “orgin” and “upstream”)
$ git remote set-url origin https://github.com/dlaboss/incubator-edgent.git <https://github.com/dlaboss/incubator-edgent.git>
$ git remote set-url upstream https://github.com/apache/incubator-edgent.git <https://github.com/apache/incubator-edgent.git>
$ git remote -v # see the updates
- To update a clone of an ASF git repo (e.g., one you created for merging PRs) - ~/git/asfclone-incubator-quarks
$ cd ~/git/asfclone-incubator-quarks
$ git remote -v # see the current remotes and update their urls (I have “orgin” and “mirror”)
$ git remote set-url origin https://git-wip-us.apache.org/repos/asf/incubator-edgent.git
$ git remote set-url mirror https://github.com/apache/incubator-edgent.git
$ git remote -v # see the updates
Hope that helps.
— Dale