- Download & install Git
- Setup username/password [1]:
$ git config --global user.name "Firstname Lastname"
$ git config --global user.email "your_email@youremail.com" - Setup the ssh keys [2]:
$ ssh-keygen -t rsa -C "your_email@youremail.com" - Install Git into Eclipse
- Add Git repository (checkout from public repo) git://git.assembla.com/Debrief.git
Fingers crossed.
Update: dragging on. Hey, command line updates work!
So, edit in Debrief commit changes to local repo.
Use command line to push to server. In the git repo we need to git remote add origin the private git url. Then from the command line we can do a git push, a git fetch, or a git merge origin/master [3]. Hopefully eGit will work soon.
Update 2: switched to GitHub, but the Eclipse permissions issue didn't go away. Turns out it's a problem with eGit. eGit doesn't know how to read new SSH keys, so you have to tell it before you start Eclipse [4]:
export GIT_SSH=/usr/bin/ssh
[1]. http://help.github.com/set-your-user-name-email-and-github-token/
[2]. http://help.github.com/mac-set-up-git/
[3]. http://book.git-scm.com/3_distributed_workflows.html
[4]. http://stackoverflow.com/questions/3601805/auth-problem-with-egit-and-github
No comments:
Post a Comment