github

encoding problem when cloning from github to my windows pc

It seems that the encoding on my project is changed from utf-8 to windows-1252 when I clone it from github to my windows vista pc. Any ideas of how I can make it not do this? ...

Gerrit with Github

I am using github and I am willing to start using Gerrit with it. Since Gerrit uses JGit, I am scared of the following text from this link: EGit/JGit is a reimplementation of git in java, due to this GitHub does not officially support it. Issues have happened and repositories have been corrupted by them. While it is usually ...

Heroku and Github integration (how to structure the project)

I'm creating a webservice and I want to store the source on github and run the app on heroku. I haven't seen my exact scenario addressed anywhere on the 'net so far, so I'll ask it here: I want to have the following directory structure: /project .git README <-- project readme file TODO.otl <-- project outline ... <-- other pro...

Is there a way to setup remote-specific .gitignores?

Is there a simple way to setup different .gitignore files for different remotes? I have a repository I push up to both Heroku and Github. I need database.yml for Heroku, but don't want some of the information to be pushed up to Github. So I need a different .gitignore file for each of the remotes. I tried having two separate branch...

ruby-on-rails: revision counter

Hi, I want to add a revision counter to my rails app. Not the number of commits necessary but the number of live pushes/deployments for example. I'm using github as my remote repo. Any suggestions? Thanks ...

How to copy commits from one branch to another?

I've got two branches from my master: v2.1 (version 2) I've been working on for several months; wss that I created yesterday to add one specific feature to my master (in production) Is there a way to copy yesterday's commits from wss to v2.1? ...

Git: Seemingly Simple Branching Questions

Hello all, I have been using Git for my version control for a while now, but I have as of yet only used the single master branch for all of my development. As my projects are getting bigger, it's time I being worrying about stable/development branches and release tagging. I have been reading a bunch of articles about Git branching, but ...

Exclude specific files when pushing to a specific Git repository

Is it possible to exclude specific files (*.ai, *.psd) when pushing to certain repositories with Git? My need comes from trying to use Git for both version control and deployment to Heroku. If I include my graphic assets in the deploy, the slug size is larger than desired. However, I do need to include all project files in my main gith...

how to clone a project on heroku

I have a project on heroku working fine. Now I want to create same project with different url (same code) as the one I have working now. So that I can give the new url to the customer as a 'test' site. I know in heroku i can just rename the url but I want to completely separate development from test (database wise). What is the be...

uploading a repository to github fails says "permission denied"

I am new to git and when I try to upload my newly created repository to github I get the message: Permission denied (publickey). fatal: The remote end hung up unexpectedly : Any idea what this means? ...

Cloning a private Github repo

Hi, I have a private repository on Github for a project I'm working on. Until now I had only worked on my home desktop, but I just bought a laptop, and am trying to set it up so that I can work on the project from either computer, and push / pull changes. I added a new SSH key to my Github account for the laptop, and was successful ...

How to get to a particular git tag

I want v0.1.27 of nodejs code base. This is what I did. git clone git://github.com/ry/node.git cd node git checkout -b v0.1.27 However when I look at v0.1.27 code base changelog there I see changelog for 0.1.32 also. It seems I did not checkout v0.1.27. How do I checkout a branch from a tag? ...

Accessing a google code repository to get statistics

Code hosting sites such as github and bitbucket have public api's to retrieve statistics of project repositories. Is there such an api in google code or any other way to retrieve statistics about a google code project repository? ...

Git + GitHub + Heroku

Hi All, I am new to the world of Git, GitHub and Heroku. So far, I am enjoying this paradigm but coming from a background with SVN, things seems a bit complicated to me in the world of Git. I am facing a problem for which I am looking for a solution. Scenario: 1. I have setup a new private project on GitHub. I forked the private proje...

Git and ssh authorizating

Hello, I can't login to github with generated ssh-keys. I've followed this manual: http://help.github.com/linux-key-setup but at step: ssh [email protected] I get: Agent admitted failure to sign using the key. Permission denied (publickey). What's wroing? And, of course, I'm adding my own user email. Tried dsa-key, the s...

plugin from github not successfully installing

When I place this in my base application html.haml file: = javascript_include_tag :defaults, 'jquery-1.3.2.min', 'highcharts' <!--[if IE]> javascript_include_tag 'excanvas.compiled' <![endif]--> %script{:type => "text/javascript"} $(document).ready(function() { = yield :javascripts }); I get a textual description of a graph that is su...

What's happened to my directory on GitHub?

I added a new subdir within my git respository: git add feeds Then commited this and pushed it up to GitHub but it seems as though I've commited a symlink / shortcut but not the actual directory and files within. See here: http://github.com/G4EGK/RSS-Reader Any idea what 'feeds' is? I'd like to remove that and correctly add my file...

Git How do I Push a project, that was Downloaded from Source

I worked with a graphic designer that did not clone from my github account. He downloaded the project from source rather than using the command "git clone". Since he pulled his files, a month has gone by and I want to do the following tasks: Create a new branch Push the graphic designers project into that branch Merge his branch with M...

Cloning a read-write github repository using TortoiseHg

I'm trying to clone my personal fork on github using the git+ssh protocol with TortoiseHg. It's giving me a rather strange error. Here is the command hg clone git+ssh://[email protected]:myusername/thefork.git This is after I have installed the hg-git module and it works just fine to clone using the git:// syntax. But I believe it's havi...

How to install gem from GitHub source?

Hello, I know this is probably kind of noob question, but I never tried this before and I'm not sure how to do this. So when I installed my gem with gem utility it installed too old version. I want latest version, that is on GitHub. I could just download source, but I want to be able to load with gem in my Ruby code. Any ideas? ...