github

How secure would github hosting be for private repositories?

I have read this thread but I'm wondering how secure such a solution would be? I know that github offers ssh/ssl support and am familiar but could someone give me a breakdown of what sort of internal security they would use to make sure my committed conf/credential files don't get hacked? EDIT: I've read http://help.github.com/security/...

Show the latest commit value within a web application?

Hi Everyone, I have a few Rails applications and I use Git as the version control system. I use either GitHub or Beanstalk as the repository hosts. What I am trying to is quite simple in theory. Somehow show the latest commit ID number (hash?) in the footer of the web application. So that when I am looking at the web application I can...

After git clone , does not see branch

Hello.I have the repository on github. It contains master and one branch. When I clone, I obtain only master and do not see my branch. Why is it so? How can I see all branches in the repository? Thanks. ...

How do I get a URL for a specific revision on github?

Here is a sample project on github: http://github.com/ripper234/Test-grails-project I would like to capture the latest revision, and send a link to it to someone, so that even if the project changes later he will see the specific revision I was talking about. I guess forking could do that, but it's overkill. How do I do that? ...

What's the default license of code published at github ?

When no license is explicitly attached to a piece of code hosted at github (neither as a separate file, nor in the headers, nor in the readme), what is the default license inherited by the code ? ...

Git/GitHub: fork, subtree merge or submodule for external code?

Hi! I'd like to incorporate an existing project (hosted on GitHub) as a part of my project (into a subdirectory) while maintaining the history and the ability to update that project. I've found that there can be about three approaches: Fork the original project, move the original contents into a subdirectory and push it to my GitHub re...

Is it possible to share public code through heroku like I can with Github?

On Github, I can send a page link with a file of code. Does Heroku have the same functionality, or do I have to have them clone the project and added as a collaborator to do that? ...

Removing duplicate db migrations from git repository

I'm trying to deploy a rails app to Heroku and I'm running into some basic git problems. I'm new to this all -- rails, git, heroku -- so I'm afraid I'm getting lost on what's probably a fairly basic concept. I've pushed the app to Heroku, but when I'm migrating the db ($ heroku rake db:migrate), I keep getting the following error: rake...

Moving my SVN local file repo to GitHub

I have a local file SVN repo of a project that needs to move to GitHub. I know from what I've read on the GitHub site and a related question here on stack-overflow that it's a simple matter to move the repo from an SVN server into the GitHub repo. But my problem is that I have a local file repository. What is the recommended way of ...

Push a branch of a git repo to a new remote (github), hiding its history

My organisation is preparing to release an open-source version of our software using github, however I'm not sure the best way to approach this: We have two branches master and release, master contains some proprietary components that we have decided not to release, and release contains the cleaned-up version that we want to distribute....

'Could not find gem' error when specifying a forked version of a gem from Github in my gemfile

I am trying to use this forked version of the searchlogic gem. In my gemfile, I have gem "searchlogic", :git => "http://github.com/railsdog/searchlogic.git" when I do bundle install, I get this error: Could not find gem 'searchlogic (>= 0, runtime)' in http://github.com/railsdog/searchlogic.git (at master). Source does not contain an...

Changing name of folder in Rails - Git won't let me add to commit

Referencing the screenshot above, I changed the name of the lowest-level folder in the tree. For example, I changed "Chips" to "chips." Oddly, Git refuses to recognize the following command when I try to add it to the commit: git add public/images/chips/ The only way I can get it to add the file to the commit is by adding an actua...

How two people, concurrently editing the same file is handled?

Hello, I believe the title says it. I'm new to source control thingy. So, let's say I have two developers working on the same project and they started editing the same file(s) at the same time then everyone of them send the new version at a slightly different time. From what I understand the one who sends the changes last will have his...

Rails plugin failing with an empty folder

Hi, I'm trying to install Abingo for my Rails application which seems can only be installed as a plugin, but it consistently fails silently with just an empty folder created. I've installed plugins in the past (although not on this app, with another in my InstantRails folder), but for some reason today nothing is installing at all, and ...

What are the most common ways of losing or having code overwritten when sharing a repository with another developer

What are the most common ways of losing or having overwritten code when sharing a repository with another developer? I say this after working with several share repos where magically a lot of my information disappears. What are some safe workarounds? I use Github. ...

GitHub: Can you issue pull requests from the command line?

It seems like you have to interact with github.com to initiate a pull request. Is this so? ...

How to use a branch in a fork of rails in a project with bundler

I've got a fork of the rails repo on github, in which I've got a branch, based on the rails-2-3-stable branch. I want to develop some changes based on rails 2.3.10 together with my app. We're using bundler, and the app is versioned with SVN. What is the cleanest way to use my branch in the github fork of rails and share this across mach...

about git hub how to use it

i have created the git hub account rahul23134 i want to know how to use it and what is the use of this how can i use this . regards rahul ...

What are some famous people to follow on GitHub?

I want to read the code of some amazing, genius individuals. Preferably people who are famous like Mark Zuckerberg, Linus, etc. What are their links to their GitHub accounts? And if they commit other people's code, how can I tell which code they've written? Thanks! Matt ...

Cannot push git to remote repository: (SSH error)

When I attempt to push to my heroku.com remote git repository, i get this message: ssh: connect to host heroku.com port 22: Connection refused I can easily work with my repository on github with the same ssh key. Entering: $ssh [email protected] #outputs: success message $ssh [email protected] #outputs: ssh: connect to host heroku.c...