Clone is not getting all my branches from GitHub
I followed the instructions here to create a GitHub Pages-hosted blog using Octopress.
After the first deployment, two branches got created on GitHub:
Then I ran
git branch and I noticed I only have one of the two branches locally. I ran
git pull, expecting Git to download my other branch as well, but it instead merged the two branches.
I deleted my local repo and then did a git clone, expecting to get the two branches locally, but I Git only downloaded the
master branch of my Weblog.
Any ideas what have I done wrong and how can I get my two branches locally?
Thanks for the answers. Just for sake of completeness, here's what I ended up doing:
git clone <github URL> -b source myblog
git clone <github URL> -b master _deploy
And then it was possible to continue with writing new posts, and deploying via
I am new to git and github. I created a new Repository and tried to clone in my local machine. It worked for https and git-readonly urls. That is, the following worked fine : git clone https://githu
Is there a way to use GitHub's compare view to view the diff between the current versions of two branches? (That is, to view the same diff that you would get if you did git diff <a-branch> <
When you fork a repository on github your forked repo contains all branches and tags. Over time these branches and tags gets outdated. How does one as easy it is with fork make sure your fork has all
i'm trying to write a buildfile with phing and the GitCloneTask (to clone a repo from github), but i keep getting this message everytime i run phing: The remote end hung up unexpectedly So i checked
I tried to get historical data from GitHub Archive by entering http://data.githubarchive.org/2012-04-15.json.gz, but I got no data. How do I get data about activity on GitHub?
I am trying to clone my project from GitHub private repo using Ubuntu 13.04. I am getting error as below all the time error: RPC failed; result=18, HTTP code = 200| 17 KiB/s fatal: The remote end hung
I am working in an environment where every contributer basically uses their own branch for basically everything new they make. Therfore we get about 10 new branches a month. I do not know how the bran
Now GitHub will create a hidden branch for each pr, like /pr/1, which can be seen when git branch -a on a local clone, but hidden at GitHub UI. I still want to preserve these branches, but I don't w
Here is a simple path of what I'm doing: $ cd /newdir $ git clone firstname.lastname@example.org:... . $ git branch -m master github $ git svn clone svn+ssh://... . $ git branch -m master SVN Then I have some script
I have a git repository on github. I would like to migrate the master version of the repository to a local filesystem, and clone from this local filesystem copy. How do I do so?
I am trying to automate my interactions with Git building a script and I am having the following problem. This works from the command line: git clone email@example.com:blablabla/reponame.git /Users/
I'm trying to clone a git-repository from my stash-server via git clone https://admin@stash-url/path/to/repository.git Unfortunately this gives me the following error Cloning into 'repository'... e
Does github require all cloning, of both public and private repositories, to use an SSH public key? Maybe a better question, is can git clone a github repo without a ssh key at all.
I did a: git clone http://github/anotheruser/something.git my-space and made some changes. Is there anyway I can create a git repository in my account and commit my changes to it? I am aware I should
How to change the cloning folder of a specific git? My default storage directory is here C:\Users\myPC\Documents\GitHub But for this one git https://github.com/username/myproject I want to put it in
I'm trying to get from my git repo all branches (git branches -a) that matches regex (grep xxx). Normally in command line I write this: git branch -a | grep xxx So I'm trying to do the same in .sh fi
I have a jekyll site that I would like to have hosted on GitHub. Since jekyll plugins aren't supported on GitHub I was wanting to have my mater branch only contain the files inside _site and make a de
I'm trying to clone my GitHub project using the https-URL, but it fails with an error: $ git clone https://firstname.lastname@example.org/foo/foo-private.git Cloning into foo-private... Password: error: error setting
All of sudden I am getting following error while trying to clone repo. git clone https://github.com/repo/xxx.git Cloning into 'hits'... fatal: unable to access 'https://github.com/repo/xx.git/': SSL c
I try to clone antlr4dart repository git clone https://github.com/tiagomazzutti/antlr4dart but subdirectory antlr4dart/antlr4dart-runtime stays empty. All other files are cloned as I expected. What h
I'm looking for a commit which introduced a line of code with the word Rental somewhere in my project. How can I search all branches for the commits where lines were introduced that included that ph
I have a python nested dictionary (basically a trie structure) with sentences as branches - each node is a word. Something like this: What is the most efficient way to retrieve all branches from root
When I clone something from GitHub using Windows cmd it shows me the process. For example: C:\sbox\git\clone>git clone git://github.com/sstephenson/ruby-build.git Cloning into 'ruby-build'... remot
I have created many branches in local and remote. I want delete all the branch from local as well as remote. Note:I don't want delete each and every branches one by one. Thanks
I have a local git repo that I created from an svn repo: $ git svn clone -s svn:... I then created a backup remote and pushed everything to it: $ git remote add backup git@myhost:mybackup.git $ git p
I'm struggling to understand how to be able to clone a git repository from Subversion, and then clone that repository to another machine (git-to-git) and still have access to all the original Subversi
I'm having problems trying to link my commits to my GitHub account. Commits are being reported on GitHub the way my picture shows. The values user.name and user.email are correct, any other ideas to c
I know this question was already asked here: https://stackoverflow.com/questions/2329716/merging-changes-from-master-into-all-branches-using-git, but I would like to see real code that does this. I ha
I've removed a few large files from my repo following these instructions: http://help.github.com/remove-sensitive-data However, if I do a fresh clone from my main repo, I still pull down the deleted d
About 3 weeks ago I deleted some branches from my local repository, but never deleted them from my repository on GitHub. I need to clean up some of these branches, but have been unsuccessful. As an e
Here is the situation: I have a Fork from a Original Repo (Upstream). So according to the document from GitHub: https://help.github.com/articles/creating-a-pull-request , we need to create a new branc
Should ALL locally created GIT branches be pushed to the central-repository on a daily basis? What is best-pracice workflow concerning this? We created a GIT repository to manage our large e-commerce
I am working on a svn project with two branches, lets call them trunk branches/foo My idea is to clone the whole svn repository (telling git which folder are trunk, tags and branches), do the merge i
I've been cloning a few repos from github that, even though I know they have branches/tags, do not have them once I clone them onto my local drive. strange. I try to list the tags (git tag) but nothin
I am trying to close a git reposotory into my netbeans. I did Team->Git->clone I set the repository url and all , push next , and than there are no branches to select from. How do i add a branch
I'm cloning a textarea in a page but the cloned element doesn't have any event of the primary element, is there any way to clone all events in cloned element? var dupNode = node.cloneNode(deep);
I found reliable way of getting my local git URL in post How can I determine the url that a local git repo was originally cloned from? But how to get all the clone URLs that are available for reposito
My task is to move our repositories from public github to a private instance of github on our local net. My thought is to move them with git clone --bare <github-repo-url> git push --mirror <
Since a few days, one of my GitHub repository seems to be corrupted. When trying to clone the repository with the following command line : git clone email@example.com:MyAccount/MyRepository.git I get th
I have a several branches in my repository and I'm finding that over time it's becoming more difficult to keep them all up to date. I can always be sure that master is up to date because it's easy to
In git, I have one parent branch p and several branches based on p called a, b, c. I want to rebase a, b, and c on an updated p in a single git command. Is this possible? If so, how?
I wish to use a simple command line client (such as the official git client) to clone branches from github as part of a deploy tool. For security, I do not wish to use basic (username/password) authen
I have a git clone of a C project, and on that i have my own customized modules, after final modification, i want to make my own stable repository as backup in to github. So when i try to add as below
I have a project on github that I have been working on before. However, I wiped out my computer and I am wondering which git command should I invoke under my username to checkout my project again so t
This question is closely related to GIT: List all commits for a specific file however it is different. I want to find out which commits, across all branches, had modified a given file. To make it more
I'd like to take an open source project available on GitHub and use it for a new website. Since it's going to be for private use, I plan on storing the code in BitBucket (since GitHub charges for priv
So I have a dart program and I want to add a dart package from github, not from the normal way of adding packages using the IDE package manager since the github version has the latest code. What would
I had a massive git repo because of a huge number of commits, so following advice here I created a shallow clone. I've made changes to this new local repo, and now I want to push to my origin at Githu
This question already has an answer here: Set up git to pull and push all branches 4 answers Let's say that I have A LOT of local branches in my git not pushed on the remote repository. How ca
I used clone to create a local copy of my repository on GitHub. I modified a few files. Then I did: git commit -a And now I want to save my committed changes to the GitHub repository. How can I do tha