git

git tmbundle for textmate - where is the checkout for the branch?

hi! i'm actually using the git tmbundle for textmate. really useful! unfortunately i miss the checkout, so i can't "merge" the branch to the master. anyone know where is it? thanks in advance :) ...

Remove everything

I want to remove everything inside my git project. Is there any easy way to do this? ...

What does it mean when git pull causes a conflict but git pull --rebase doesn't?

I'm pulling from a repository that only I have access to. As far as I know, I've only pushed to it from one repository. A couple of times, I've tried pushing to it and gotten this: To [email protected]:tsched_dev.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to '[email protected]:ts...

Quantifying the amount of change in a git diff?

I use git for a slightly unusual purpose--it stores my text as I write fiction. (I know, I know...geeky.) I am trying to keep track of productivity, and want to measure the degree of difference between subsequent commits. The writer's proxy for "work" is "words written", at least during the creation stage. I can't use straight word coun...

How to display available branches in Android source tree?

Following directions on Android's main website to pull down sources, I'm looking at this command to initialize repo for the cupcake branch: repo init -u git://android.git.kernel.org/platform/manifest.git -b cupcake How can I view all available branches besides cupcake, i.e eclair, donut, etc...? ...

It is possible to merge/rebase non direct relationship branches??

Hello, As a integration test I would like to join several branches before merging them with my master. All of them diverged from the master and make it's own way. It is a correct merging different branches with no direct-relationship (e.g. parent/child)?? Is there any good practise for rejoining branches?? Thanks in advance, Raul. ...

Migrating from TFS to Git

Hi Is it possible to migrate from TFS 2008 to Git, and still preserve all the history, etc? I've seen some references that talk about doing it through SVN, but that seems rather complicated, and complicates my mission to introduce Git at my job. ...

What are the advantages of a rebase over a merge in git?

In this article, the author explains rebasing with this diagram: Rebase: If you have not yet published your branch, or have clearly communicated that others should not base their work on it, you have an alternative. You can rebase your branch, where instead of merging, your commit is replaced by another commit with a di...

How do you pronounce Git?

With regards to the version control system, is it pronounced like 'give' or 'jit'? ...

Git strange behaviour

git status # On branch master # Changed but not updated: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # modified: readme.txt # modified: requirements.txt # no changes added to commit (use "git add" and/or "git commit -a") I...

git submodule svn external

Let's say I have 3 git repositories, each with a lib and tests folder in the root. All 3 repositories are part of what I want to be a single package, however it is important to me to keep the repositories separate. I am new to git coming from svn, so I have been reading up on submodules and how they differ from svn:externals. In SVN I c...

How to configure git repository so a branch other than master is checked out after a cloning?

I am trying to set up a git server with bunch of repositories. I am planning to use the branching model described in http://nvie.com/git-model article. So I will have at least two branches (named master and develop) in the repository. After a clone the master branch is checked out by git. Is there a git config option so that develop bra...

How to REALLY delete a git branch (i.e. remove all of its objects/commits)?

I have a git tree like A---B---C topic / D---E---F---G master <-- I would like to remove topic and all objects on it. I note the SHA ID of topic, then type: git branch -D topic git gc # <-- I also tried prune here... git checkout -b temp <SHA1 ID of...

Does git know which branch is which after a merge?

Sorry if this is a stupid question with just a yes/no answer, but if I understand correctly, in git a branch is just a pointer to a commit. Doesn't this imply that once you've merged two branches, git doesn't know which one pointed to which set of commits? Before A---B---C---D---E <- X \ 1----2----3----4 <- Y ...

Where should you put 3rd party .NET dlls when using git submodules to avoid duplication

I have two .NET library projects in Visual Studio 2008 that both make use of the MySql Connector for .NET (MySql.Data.dll). These libraries are then in turn both used by a .NET command line application which also uses the Connector. The library projects are pulled in to the application's solution as git submodules and referenced by proje...

Is it possible to remote count object and size of of git repository?

Assume that somewhere in the web exists public git repository. I want to clone it but firstly i need to be sure what is size of it (how much objects & kbytes like in git count-objects) Is there a way to do it? ...

How do I merge branches with Magit using a new commit object?

I can’t seem to get my merges intact with Magit for Emacs without squashing them into the current branch consistently. Sometimes a new commit object is created after the merge (which is what I want), sometimes commits are squashed. I basically just want to do 'git merge --no-ff topicbranch' in Magit. So how do I enforce the --no-ff fla...

Differences between git pull origin master & git pull origin/master

What is the difference between git pull origin master and git pull origin/master ? ...

Complex git rebase maneuver

Looking at the git-rebase man page, I didn't see any diagrams that looked like what I want (except some seem to do the reverse of what I want), and playing around with --onto didn't get me what I wanted either. Let me see if I can draw a diagram like the ones from the git-rebase man page (the vertical bars to the left are to make Mark...

Git: can I store known repositories along the repository?

I am setting up a Git repository. I know you can add repositories using git config --global, but is there a way that those known repositories gets cloned by users? The goal would be that once the repo gets cloned by userz, they can push to other repos just by their aliases. For example, I add git://X/mobility.git as X to the repo (some...