Re: gh-pages config

2011-02-18 Thread Petros Amiridis
You just need to go to the repository's GitHub page and copy the SSH URL and
then do:

git clone SSH_URL_YOU_HAVE_COPIED

then everything will be set for you.

On Fri, Feb 18, 2011 at 10:40 AM, Mark Carter alt.mcar...@gmail.com wrote:

 I have a repo that uses gh-pages. I re-installed Linux, so when I
 clone my repo again, the gh-pages branch seems to be ill-configured.
 If I type
   git branch gh-pages
   git pull
 I get the response
   fatal: 'gh-pages' does not appear to be a git repository
   fatal: The remote end hung up unexpectedly

 I have the following in my .git/config file:

 [core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
 [remote origin]
fetch = +refs/heads/*:refs/remotes/origin/*
url = g...@github.com:blippy/Thimbl-CLI.git
 [branch master]
remote = origin
merge = refs/heads/master
 [branch gh-pages]
remote = gh-pages
merge = refs/heads/gh-pages


 I figure I need to add a remote section, but don't know what I
 should fill it with. Can anyone help? My webpages are stored in the
 directory `website'.

 --
 You received this message because you are subscribed to the Google Groups
 GitHub group.
 To post to this group, send email to github@googlegroups.com.
 To unsubscribe from this group, send email to
 github+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/github?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
GitHub group.
To post to this group, send email to github@googlegroups.com.
To unsubscribe from this group, send email to 
github+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.



Re: gh-pages config

2011-02-18 Thread Mark Carter


On Feb 18, 8:40 am, Mark Carter alt.mcar...@gmail.com wrote:
 I get the response
    fatal: 'gh-pages' does not appear to be a git repository
    fatal: The remote end hung up unexpectedly

What to do:
* start with a fresh clone of your repo
* git checkout -b gh-pages origin/gh-pages
Then it should Just Work (TM).

-- 
You received this message because you are subscribed to the Google Groups 
GitHub group.
To post to this group, send email to github@googlegroups.com.
To unsubscribe from this group, send email to 
github+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.