github

How Should I Handle a Plugins Repo Using Git?

Hi everyone, I have a bit of a dvcs design question: I have a project that I am hosting on github. I also have several plugins that I have written for the project, but that I don't want to include in the core code, because they are optional plugins. In svn, I just created an additional dir that contained all of the plugins. Users could...

linking git and github repositories

I'm looking for a clean way to import one git repository from another, where both repositories exist on github. The two repositories are private, in case it matters. The idea is that one repository represents one project and the other simply needs to use that project. It doesn't make sense to check in all the code from one repository i...

someone sent me to pull his changes . However I am not able to add my name to that commit

Someone forked my project and made a few changes. All good. All his changes are in a single commit. Now he asked me to merge his changes. Project is hosted on github. I followed the guidelines mentioned at http://github.com/guides/pull-requests and this is what I did git pull git://github.com/defunkt/grit.git master However because o...

Script to remove history for all binary files in Git, without removing file itself

Say I have a huge git repository and it has a number of swfs and images in there. I want them to be included in the hosted github repository, but they don't need to be versioned, and I don't want to have to store them somewhere else. What is the simplest way I can remove their history every time I commit to a repository? ...Such that, ...

Timeline Charts like Github.com

Has anyone seen an open-source library that produces charts similar to Github.com's commit timeline charts? Check out this profile (picked one at random) and note the bar graphs below each project. I've been trying to dominate Flot into behaving correctly but it just doesn't have the flexibility of formatting options to come up with a d...

TeamCity GitHub Private Key Access Denied

Does anyone know of a tutorial for using TeamCity with github with ssh private keys. I have tried to set up git hub to connect and I either get a authentication error or get access denied. I am running TeamCity on Windows 2003. I am running the build agent as a custom account. I am running the web server under the administrator accou...

Git convention to indicate throw away branches

Scenario: Person A creates an experimental branch to solve a problem. Person B gets interested and wants to check the code, due to laziness person A pushes to his github rather than configuring his workstation to let person B pull directly from him. A and B is hacking away, person C sees the activity on github and clones, eager to chec...

git: put a branch in a subdirectory

Hi, I have a git repository (at github.com) with two branches: master and gh-pages. I would like to have the gh-pages branch in a subdirectory, so that I don't need to switch branches every time. repo/ (content of the master branch) gh-pages/ (content of the gh-pages branch) Is that possible ? ...

Techniques to handle a private and public repository?

I have an open source'd website. Some content is "private" such as connection parameters, as well as files that the open source version doesn't need (eg. advertising templates). Essentially I'm trying to maintain two versions: A public site that has a unique identity (advertising, Google Analytics account, link for associated forum an...

Problems with first upload to github

My first upload to github and I'm having the following issue with the command: dan@dan-netbook:/opt/lampp/htdocs/myProject$ git push origin master error: unable to create directory for .git/refs/remotes/origin/master error: Cannot lock the ref 'refs/remotes/origin/master'. Everything up-to-date I get this error while following t...

What is the best practice for dealing with passwords in github?

I've got a little Bash script that I use to access twitter and pop up a Growl notification in certain situations. Whats the best way to handle storing my password with the script? I would like to post this script on GitHub, but I'm wondering what the best way to keep my login/password private while doing this is. Currently the password...

Automatically pulling on remote server with Git push?

Here's what I'm trying to do: I have a GitHub repository, a portion of which I'd like to make web viewable. Right now I've cloned the repository on my own server and it works well, but in order to keep it up to date, I have to manually login and pull the latest changes. I'm not sure if this is the best idea (or the best approach), but ...

What is a good git server frontend for self hosted git repositories

I am planning on deploying git for a project I am currently working on and was wondering if there are any free softwares that provide an easy to use web view of the git repository. I am primarily interested in using the front end to track changes, see diff information etc. There is a list of such front ends available here. Does anyone ha...

How to deploy jekyll on slicehost

I have jekyll blog up and running locally. I am not sure how to push the content to slicehost. They have an instruction page but I am not able to follow the instruction. I have all my content on github. Just need to know how to make post-update hook work? ...

Basics of version control from a Git(hub) perspective

I learned of gist.github.com from Mozilla Ubiquity, and have been using it to post small stuff I've written, and to keep it updated in a public place, with version control so no information is lost. I understand the basic idea of version control, but I don't know how to use it in a practical sense. I've tried reading through tutorials ...

github initial upload

Hello all, I'm trying to do my initial upload to github. I think I have everything configured correctly, and I've done the readme commit and origin master push and added my files, but I don't see any changes on github. When I do something like: git commit --no-verify -m "some more files for initial add" I get: [master 6fcc942] s...

Is it possible to create a remote repo on GitHub from the CLI without ssh?

I did: ~$ mkdir projectname ~$ cd projectname ~$ git init ~$ touch file1 ~$ git add file1 ~$ git commit -m 'first commit' So... Is there any git command to create a new remote repo and push my commit to GitHub from here? I know it´s no big deal to just fire up a browser and head over to Create a New Repository but if there is a way to...

Does a git repo always have to be in its own directory

I would like to have multiple files in a folder with are managed by different git repositories. Is it possible? I have the following folder structure for a project. It is part of a Git repository: plugins/ - plugin.a.php - plugin.b.php - plugin.c.php I would like plugin.b.php to be part of another repo. For example, I want the dev...

What's the best way to manage a multi-user project on github?

I'm looking to host a new project on github. This project will be worked on by two coders. One of these coders will also be the project manager who will have overall control over the github repo. I've followed the instructions regarding forking a github project at http://help.github.com/forking/. This all works fine and I'm working on t...

Best practice: git, github, lighthouse and 2 developers

I'm setting up a new project and plan on using git and github for sourcecontroll and hosting of repo and lighthouse for bugtracking. I've been working with git for some while now, but only been using it for more of a backup solution than collaborate coding solution. [Edit]Reade here for more details: http://git.pastebin.com/ArzBBx6j [/E...