On Sat, Feb 19, 2011 at 7:31 PM, Joel C. Salomon <[email protected]> wrote: > I have a project jcsalomon/jcscheme, to which I’ve added a wiki. At home > I’ve run > git clone [email protected]:jcsalomon/jcscheme.git > cd jcscheme > … other stuff, not relevant to my question … > git remote add wiki [email protected]:jcsalomon/jcscheme.wiki.git > git fetch wiki > git branch --track wiki wiki/master > … > git checkout wiki > … edit wiki files … > git commit -a -m "message" > — but how can I push it to the correct repository, and is there a way to > make this work by simply saying “git push wiki” or something like that?
Seems like you're doing this the hard way. Why not just check it out to a separate directory on your machine? git clone [email protected]:jcsalomon/jcscheme.wiki.git cd jcscheme.wiki ...edit and commit stuff... git push origin master But if you really want to take your local 'wiki' branch and push it to branch 'master' on the remote named 'wiki': git push wiki wiki:master Have fun, Avery -- You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/github?hl=en.
