Tag: repository

How do I manage an open-source and commercial version of the same project using source control?

We are developing an open source project, and we are using Mercurial for source management control. The Mercurial repository for this project is public (we are using Bitbucket). Now we have a client for whom we need to customize our open source software. These customizations must be kept private, so we probably need to create […]

How to 'Watch' only a directory in a GitHub repository?

For example, https://github.com/vanillaforums/Garden is the GitHub repository. But I only want to ‘watch’ this directory https://github.com/vanillaforums/Garden/tree/master/plugins in the repository. How do I do that? There doesn’t seem to be a way.

Create git repository after project creation

I know there’s an option to make a local repository for your project when you first create it, but is there an option create a repository after you’ve created your project?

Clean git repo on Heroku

The situation is as follows: We have some project which persists on Github, and deploy it to Heroku, which has its own mini-Git. Some changes were applied directly to Heroku (cloned repository from Heroku, made changes and pushed). In a meanwhile the master branch on Github has gained also some changes. Now when I want […]

How do you organize your git repositories?

“Traditional” version control systems follow a “Cathedral” model — all the code is stored in one main repository. Distributed Version Control Systems like git allow a lot more flexibility in organizing your multiple repositories. You can “push” changes, “pull” changes, and “clone” repositories. Have you organized your repositories along your workgroup or workflow lines? Have […]

When to break up a large Git repository into smaller ones?

I am working on doing a migration from SVN to Git. I have already used git-svn to get the history into a single git repository, and I already know how to use git-subtree to split that repository into smaller ones. This question is not about how to do the migration, it is about when to […]

When running repo sync error: Exited sync due to fetch errors

I’m trying to sync my jb repository but I receive this odd error. funny thing is that it does not always crash at the same point (though it might be just a synchronization issue since I add -j10). command: $ repo sync -j10 error: error: Exited sync due to fetch errors I’m aware of the […]

delete a 'feature' branch using gitflow without merging into master branch

I am using the Git GUI called ‘Souretree’ by Atlassian and in particular the ‘Gitflow’ module to manage various branches. I just created a ‘release’ branch that I don’t want to merge back into either the master or develop branches. How do I get rid of it ? Can I just delete it ? My […]

Import an existing Git repository into IntelliJ IDEA

I have a local Git repository with my own branches, stashes and all that jazz, and I’d like to add this repository into IntelliJ IDEA, so that I can manage it, instead of creating a new copy of the repository from within IDEA. How do I do that? Thanks!

What are the pros and cons of git submodule and Repo?

It just so happens that we share a library between 3 different mobile platforms. There is much debate within the office on what is the best tool to use to manage this library. Repo (Android) from what I read is a tool built on top of git used for managing the hundreds of git repositories […]

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