Tag: repository

r sourcing private repos from github

Hi I was wondering how to source private repos in github that I have been given access to. Using the devtools package, it is easy enough to source open repos by using commands such as: source_url(‘https://raw.github.com/hadley/stringr/master/R/c.r’) but doing the equivalent with the URL for a private repo doesn’t seem to work. P.S. I know I […]

Objects folder in .git is extremely large for my small project

My git push was very slow so I investigated and found out that the folder .git/objects takes up ~450MB. The complete project is only ~6MB, but I’ve added archives which were 140MB large. As github doesn’t allow files that large, I’ve removed them, then did git add -A and tried to commit again, but it […]

github fork confusion

I followed this https://help.github.com/articles/fork-a-repo post to clone a repository locally. After doing that another developer created a branch to the main repository and added some features to that branch. My question is How do I get that branch into my fork. Can I get that missing branch again to my local using git pull upstream/missing_branch […]

How safe is it to host sensitive data on repository sites like github, bitbucket, etc.?

This is just a question out of curiosity. I am wondering how safe it is generally considered to host sensitive data on repository websites like Github, Bitbucket, etc.? Is it safe enough to get rid of all code on local machines and just store it all on there? How about safety in the sense of […]

repo init a particular commit

Im building the Cyanogenmod 9 (Android ICS) system for a Nexus S phone (samsung crespo). The problem is that if I do: repo init -u git://github.com/CyanogenMod/android.git -b ics The repo inits to the latest commit of ICS, in which the manifest does not include some device/samsung/ projects I need (specifically https://github.com/CyanogenMod/android_device_samsung_crespo). How do I repo […]

How to delete remote repository on github?

I want to know how to delete repo in github account. I cannot see any indicators to delete on github interface. Thanks guys!

How do you use Git to retrieve just one (or a few) files from a repo?

Possible Duplicate: Partial clone with Git and Mercurial I switched into the specific directory into which I’d like my repo file to be copied into, and then tried the following: git clone git@github.com:path/to/file.java but it’s giving me ERROR: repository not found Can anyone tell me what’s going on, and what’s the right thing to do? […]

Use Javascript to get the list of a user's Github repositories

Firs of all, thanks for reading. I am hosting my current dev projects at Github. Using Github’s pages, I used Github to host my personal blog, that you can reach here There, I have a page dedicated to all the projects I am currently working on. Basically, I wanted to display the list of all […]

Getting GitHub and Gerrit to play nicely

I host a private repo on GitHub. I also want to use Gerrit, particularly for the Hudson Gerrit Trigger plugin. AFAICT, there isn’t any simple solution for using them together. I’d appreciate any help on any of the following wants. What I want Clone GitHub repo and add to Gerrit’s projects either: manually, or during […]

How do you change the default base fork for a github pull request?

Whenever I submit a pull request to a merge a feature branch into the master branch of my own github repository the default value is always the original repository that I forked (see attached screenshot). How do I change the default Base repository to mbigras/phase-0-tracks instead of Devbootcamp/phase-0-tracks? Thanks!

Git Baby is a git and github fan, let's start git clone.