github

Error pushing to GitHub - insufficient permission for adding an object to repository database

I'm getting back an unusual error while trying to do a "git push" to my GitHub repository: Counting objects: 8, done. Delta compression using 2 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (5/5), 1.37 KiB, done. Total 5 (delta 2), reused 0 (delta 0) error: insufficient permission for adding an object to reposit...

How do I get a full feed of commits with all changes from github

Here is feed for commits made in jquery project. http://github.com/feeds/jquery/commits/jquery/master This feed does not contain all the changes made in the source code. It just contains the commit title. How do I get feed so that I could see the code diff in my feed reader rather than coming to github for each and every commit. ...

How do I stop Github changing my project name?

I'm trying to create a new repository in Github, and I'm having trouble with it's name. It's a C++ project, so I'd like to call it: superproject++ However Github creates me a repo with a url of: git://github.com/alanw/superproject--.git which looks pretty bad. Is this a constraint of Github or git itself? I've played around with...

Git remove directory

I've got a repository on GitHub (http://github.com/hrickards/PHP-Crypto) for a little project me and a couple of others are working on. My development environment is Aptana Studio, and I use the EGit plugin as Aptana is basically Eclipse underneath. Today the designer sent the HTML and CSS for the website with the images in a folder name...

Best workflow with Git & Github

Hey guys, im looking for some advice on how to properly structure the workflow for my team with git & github. we are recent svn converts and its kind of confusing on how we should best setup our day-to-day workflow. Here is a little background, im comfortable with command line and my team is pretty new to it but can follow use commands. ...

Github post commit trigger build in Hudson with security enabled

Github has no problem with triggering a build in Hudson with security turned off because the build is a public URL. But I'd like to be able to have logins required on Hudson so that people can't arbitrarily build. I tried looking for a HTTP basic auth method so I can include the credentials in the URL itself, but couldn't find anything...

GitHuB repository to remote server

Is there anyway I can push changes from my Github Repository to a remote server automatically? I would like to deploy changes in master branch in my github repository to a remote deployment server. If possible. ...

Deleting Files using Git/GitHub

First off, I'm new to Git. I deleted a bunch of files locally on my Mac using Finder. I want the files that I deleted to no longer show in the current branch, but they do. Any Git ninja know a command to update the index? ...

commit & push to remote git repo via webhook?

I want to commit to a git repo from app-engine via webhooks. I cannot install git on appengine. Possible? I think it should be on GitHub, because they have a browser based text editor which can commit via the browser. E.g. go here and click the edit button. GitHub api docs imply read-only operations which doesn't seem to be true. Also...

Git: Recover deleted (remote) branch

I need to recover two Git branches that I somehow deleted during a push. These two branches were created on a different system and then pushed to my "shared" (github) repository. On my system, I (apparently) retrieved the branches during a fetch: ~/myfolder> git fetch remote: Counting objects: 105, done. remote: Compressing objects: 1...

Add New Gist using the Github API

I'm making a small app in Adobe Air which I need to interact with the Github Gist API. However I'm kind of stuck. If you're not familiar with Adobe Air you can still help, the XMLHttpRequest javascript object can do cross domain requests, as there is no domain as such. So theres nothing Adobe Air specific here. Where I'm stuck is I th...

How do I delete a Git branch both locally and in Github?

I created a bugfix branch to fix a bug on a project that I had forked on Github. I gave a pull request to the developer to incorporate my fix, but the developer decided to implement a different fix for the problem. At this point, I want to delete the bugfix branch both locally and on my project fork on Github. Successfully Deleted Local...

How to have Git 1.6 follow "beyond symlinks"

Apparently, the bug where git follows and track files beyond symlinks (git add symlink/) has been fixed around v1.6. Now this was a bug that works in my favor. Now that we've upgraded to v1.6.3.3, is there any way to reproduce that behavior without downgrading? ...

Why include `master` in the command `git fetch upstream master`?

In the section Pulling in upstream changes on help.github's Forking a project it states: Some time has passed, the upstream repo has changed and you want to update your fork before you submit a new patch. There are two ways to do this: $ git fetch upstream master $ git merge upstream/master Why are they including master in the f...

How do you merge changes on non-master branches from a forked github repository?

In both of the following StackOverflow questions, the accepted answer describes how to merge changes from a forked repository in the situation where you fork a repo, the original repo is modified, and then you want to merge the changes made to the master branch back into your forked repo. Merging between forks in GitHub Merge changes f...

Git with a "two-stage remote"

I have a project hosted on GitHub and I would like to work locally on it. I have multiple Computers that need to access it and I would like to share code between them. However, I do not want all of these commits to go on GitHub, so a simple "clone and then just push/pull" approach does not suit. Essentially, I want this: [GitHub] --> [...

Dissallow deletion of Master branch in git

I'm trying to setup a git hook that will disallow anyone to delete the master, alpha, and beta branches of our repository. Can anyone help with this? I have never done a git hook so i don't want to try my luck in developing my own without a little help. Thanks in advance. ...

Why do names of Rails gems & plugins sometimes contain author name?

When it comes to adding gems/plugins I notice that sometimes the author name is prepended to the gem/plugin name, whereas other times it isn't. Is there any reasoning behind this? Example: config.gem "thoughtbot-factory_girl", :source => "http://gems.github.com" Why not have it as: config.gem "factory_girl", :source => "http://gems....

Git-ing a branch from GitHub

I want to clone this edge branch of a github repo. The following command is identically listed in the readme for both master and edge git clone --depth 1 git://github.com/bborn/communityengine.git vendor/plugins/community_engine How do I specify to git that I want the edge branch? ...

How to sync to a source tree on github?

I am playing with my eclipse cvs functionality (on my windows box), is there a way to check out a project hosted on github? Anyone shows me a pointer? Thanks, ...