github

Github: error cloning my private repository

I'm trying to clone my GitHub project using the https-URL, but it fails with an error: $ git clone https://[email protected]/foo/foo-private.git Cloning into foo-private... Password: error: error setting certificate verify locations: CAfile: /bin/curl-ca-bundle.crt CApath: none while accessing https://[email protected]/foo/foo-private.gi...

How to in Git, clone a remote (GitHub) repository from a specifed date.

I'm trying to clone a git repository from a certain date. Even if this is not possible. Is it possible to clone the git repository and then roll it back to a certain date? Example: my repository has been updated since May 2010, but I'd like to get the version from June 5th. I'd like to run the following command: git clone git@github...

How to view diff of a forked github project

I have forked a project on github and need to have a set of changes I made since I forked, in diff format. If you wonder - I've forked Apache httpd and I'm changing some code in core. Currently I'm not commiting any changes, running git diff, and use its output as a patch against vanilla httpd sources in an RPM building process. It is, ...

What's the best way to setup git when having common code that should be used in several repositories?

Hi Everyone, I'm working as a .NET developer in a development team where we are using kanban for our software development process. We are currently using team foundation server for source control and having a branch-by-feature strategy to ensure that we allways have releasable code. Since there is some "limitations" in Team Foundatio...

Capistrano occasionally fails to pull git repo

Capistrano sometimes fails to pull the newest source from github, but shows no errors. On several occasions now, cap deploy did not pull the latest code from my git repo, but showed no errors in the process. Repeatingly running cap deploy does not fix the issue, but running git pull origin master on the actual server does pull in the n...

How to use Git or Subversion ?

I code all by myself, and I have 1 website . but i dont ever use subversion or github. Question is: How to develop on souce code of my website server and update it when develop complete. In this case , should use github or subversion. Truthly , i read and using github then try to create repository but anyone can watch mycode . I dont w...

strange ssh issues with github

Scenario 1. I am doing this from /home/deploy directory I am trying to set up ssh with github for capistrano deployment. this has been an absolute nightmare. when I do ssh [email protected] as the deploy account I get Permission denied (publickey). so may be the key is not being found, so If I do a ssh-add /home/deploy/.ssh/id_rsa Co...

Git, how to generate public key

Hi everyone, I am a newbie to Git/GitHub and would like to know how to generate a public key(to be used in GitHub) using Git Bash. The command below generates the error sh.exe": syntax error near unexpected token '(' I am using windows xp. $ ssh-keygen -t rsa -C "[email protected]" Generating public/private rsa key pair. Enter file ...

Github commit message links

Is it possible to create a commit message with link to other repository commit? Eg. something like [Username\Repo\commitHash] Usage example: if some bc break would happen in some framework's commit, I'd like to link to this very commit in my own commits updating my code which uses this framework. ...

Should I fork Ruby on Rails on Github for a OpenSource RailsApp?

Playing with the idea of developing a small opensource rails app which then in a later state will be deployed to heroku. Should I fork the Rail git-repo and work on my fork or do I see this completely wrong? ...

What to do about "PTY allocation request failed on channel 0"

I can't see to wrap my head creating an ssh key for GitHub. I had it working quite awhile back but I can't figure out what has changed. I've since removed the previous SSH keys from my GitHub account. After following the instructions several times for generating an SSH key (http://help.github.com/mac-key-setup) and testing "ssh git@githu...

Pull updates from source repository

I have a repository on Github that is a fork of another repository. I made some changes, and they were pulled into the original repository, and more changes have been made there since then. My forked repository is now out of date, and I want to make some more changes to it. Nothing has happened in my repository since the changes were pu...

Transfer only revision history from Google Code to GitHub

We recently moved our project from Google Code to GitHub, but only wanted to move a part of it (up to say revision 600) so instead of using GitHub's built-in system to transfer an SVN repo over we just created the project out of a local project folder that was appropriate. However, I'd like to transfer over the revision history up to a ...

Github Branches

I have a project I'm working on and am hiring contractors to help me on certain parts of the code. The catch is that I don't want any one of the contractors to see all of it. Is there a way on GitHub that I can assign them a branch under a private repository? Will this require the command line or can I do it on the website? ...

Recommended workflow for public and private forks of a public GIT-SVN-created repo

I'm trying to set up three things: a public GIT mirror of a public SVN repo a pubilc fork of that repo where multiple contributors can stage patches a private fork of the public repo from #2 I know how to do #1 but am looking for advice on #2 and #3: how to configure, how to keep in sync, things to avoid, etc. Here's more details: ...

Git SSH setup Permission denied (publickey)

Hi, I'm using a VWWare image of Ubuntu 8.04 and experiencing problems while setting up git access over SSH I get the following output debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering public key: debug1: Authentications that can continue: publickey debug1: Offering pub...

Multiple github accounts on the same computer?

Trying to work on my both my actual "work" repos, and my personal repos on git hub, from my computer. The work account was set up first, and everything works flawlessly. My personal account, however cannot seem to push to my personal repo, which is set up under a different account/email. I've tried copying my work key up to my persona...

Are there any automated SVN->GIT syncing services?

There's an SVN open-source project which I have read-only access to, and I'd like to create a GIT mirror of that project up to date on GitHub. I know how to set up the initial mirror and then keep it up to date with git svn rebase, but that still requires having a server set up somewhere with a cron job running to handle the syncing, s...

Limitations on forking from a GIT repo created with GIT-SVN?

Many open-source projects (e.g. django) have GIT mirrors which are, in turn, forked for private or public development. GIT mirrors are kept up to date with git svn rebase. But the Pro Git Book contains this unequivocal recommendation: Ahh, but the bliss of rebasing isn’t without its drawbacks, which can be summed up in a single ...

Fetching all remote branches into a bare Git repository

...