Friday, January 10, 2014

Mirrored Github / FedoraHosted Repos

OK, so playing with git to mirror my dockerfiles.   I now have the:

Set up to mirror to:

So now, users of both Fedora hosted git services and github can clone safely.  If ya run into any issues, please let me know.

Output of "git config -e":

  repositoryformatversion = 0
  filemode = false
  bare = false
  symlinks = false
  ignorecase = true
  hideDotFiles = dotGitOnly

[remote "fedorahosted"]
  url = ssh://<username>
  fetch = +refs/heads/*:refs/heads/*
  fetch = +refs/tags/*:refs/tags/*
  mirror = true

[remote "github"]
  fetch = +refs/heads/*:refs/remotes/origin/*
  url =<username>/Fedora-Dockerfiles.git
  mirror = true
  skipDefaultUpdate = true

I followed these instructions:

No comments:

Post a Comment