When progaming its nice to have several repositories in case you want to try a real life production test AND a github site for others to see and try.
Especially the production test site gave me a lot of input or better: things to deal with which were good to have been dealt with, e.g. did I have to downgrade one gem.
Anyway, this is what I found:
your .git/config
[remote "origin"]
url = git@github.com:xxxxx
fetch = +refs/heads/*:refs/remotes/origin/*
[remote "hosted"]
url = ssh://xxxxx
fetch = +refs/heads/*:refs/remotes/hosted/*
Your .git/config should look like this:
[remote "Origin"]
url = git@github.com:xxxxx
url = ssh://xxxxx
And a simple "git push Origin" uploads to two repos.
Especially the production test site gave me a lot of input or better: things to deal with which were good to have been dealt with, e.g. did I have to downgrade one gem.
Anyway, this is what I found:
your .git/config
[remote "origin"]
url = git@github.com:xxxxx
fetch = +refs/heads/*:refs/remotes/origin/*
[remote "hosted"]
url = ssh://xxxxx
fetch = +refs/heads/*:refs/remotes/hosted/*
Your .git/config should look like this:
[remote "Origin"]
url = git@github.com:xxxxx
url = ssh://xxxxx
And a simple "git push Origin" uploads to two repos.
Kommentare
Kommentar veröffentlichen