edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale LaBossiere <dml.apa...@gmail.com>
Subject ASF git repo renames and you
Date Mon, 15 Aug 2016 21:04:27 GMT
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


Mime
View raw message