Thx,

I <think> your suggestion will satisfy what I'm looking for.

The second reason you gave is my objective, am looking to perform a remote 
"copy" operation from one branch (master) to another (gh-pages), and try to 
execute that without downloading to the client, so as to avoid unnecessary 
downloading to the client if not needed.

Will test.

TS

On Saturday, August 4, 2012 1:29:14 PM UTC-7, TSU wrote:
>
> For a new repo,
>
> Believe these are the steps to at least setup the gh-pages branch using 
> this github instruction page as guidance
> https://help.github.com/articles/creating-project-pages-manua
>
> - Clone the repo locally
> - Create an orphaned gh-pages branch locally
> - Remove the existing files (likely the master branch)
>
> Now,
> The github instructions describe how to create a file called index.html 
> and commit/push the change to github.
> After pushing the file to github, as expected the gh-pages branch is also 
> created remotely.
> I was hoping that it should be possible to simply merge the master branch, 
> ie (while the working branch is gh-pages)
>
> git merge master
>
> But, it isn't working, possibly because the operation is being executed 
> locally and not remotely? If this is the case, is there a "remote merge"
>
> Am hoping to avoid downloading the master branch, copying elsewhere, then 
> switching to the gh-pages branch, then copying all the master branch files 
> into the local gh-pages branch before uploading which is similar to the FTP 
> workaround (There, you also cannot simply dopy a file, you also have to 
> download and re-upload).
>
> TIA,
> TS
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/x1qW8WfW4JAJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to