OK, so playing with git to mirror my dockerfiles. I now have the:
https://git.fedorahosted.org/cgit/dockerfiles.git/
Set up to mirror to:
https://github.com/scollier/Fedora-Dockerfiles
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":
********************************
[core]
repositoryformatversion = 0
filemode = false
bare = false
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[remote "fedorahosted"]
url = ssh://<username>@git.fedorahosted.org/git/dockerfiles.git
fetch = +refs/heads/*:refs/heads/*
fetch = +refs/tags/*:refs/tags/*
mirror = true
[remote "github"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:<username>/Fedora-Dockerfiles.git
mirror = true
skipDefaultUpdate = true
********************************
I followed these instructions:
http://christoph.ruegg.name/blog/git-howto-mirror-a-github-repository-without-pull-refs.html
No comments:
Post a Comment