git

How to pull in the latest changes made in Webkit

Hi, I have followed this instruction in setting my webkit repository locally: http://trac.webkit.org/wiki/UsingGitWithWebKit And then I made some changes locally. My question is how can I sync up my repository to the master Webkit repository? I tried 'git fetch', i don't see files are added/deleted. And then I tried 'git pull', I d...

Someone sent me a pull request, what do I do?

Someone cloned my repository, fixed bugs, and sent me a pull request. Can anyone tell me how do I pull from the users repository in github and put changes in my tree? ...

Setup a git external for remote repo

I'd create a repo which pulls in a remote repo, let's say I'd like to setup jQuery as a submodule for example git://github.com/jquery/jquery.git What would be the process of creating a repo with jQuery as a submodule and adding my own external as a remote repo. Also once this is setup, if I push / pull to my own remote, will the ext...

git-clone and post-checkout hook

According to the manual, the post-checkout hook is run after a git checkout (just as expected) but also after a git clone (unless you pass --no-checkout). Very well, now, considering the following: you don't have a local repository before a git clone hooks are not synced between remotes hooks stored in a custom template directory used...

A pretty and feature rich git GUI for Linux

I was checking out for a rich GUI for Git on Linux. Of late I have started using it a lot and find that even though command-line is very useful, I would still want a GUI at my disposal since I am not still very much aware with the advanced features. I came across this question on SO before, but I still have to ask this question again, a...

Saving changes in a remote branch in Git

I'm using Git for my personal projects with a remote repository hosted in assembla.com. I'm used to a simple svn-like workflow, but now I'm trying to do something that (I think) should be relatively simple but the git documentation has not helped me achieve it so far. This is the situation. I made a bunch of changes in my local master b...

Using git underneath a perforce repository - an easy way to notify perforce of changes?

So, I've been driven nuts enough by Perforce I'm now attempting to use a git repo beneath the covers. My question is this: When I'm futzing around with the files via my git repo, is there an easy/automatic way for me to keep track of these in perforce? I've looked into git hooks, and there doesn't seem to be one that when I commit a...

.gitignore for Visual Studio Projects and Solutions

Which files should I include in .gitignore when using Git in conjunction with Visual Studio Solutions (.sln) and Projects? Community Wiki: #OS junk files [Tt]humbs.db *.DS_Store #Visual Studio files *.[Oo]bj *.exe *.pdb *.user *.aps *.pch *.vspscc *.vssscc *_i.c *_p.c *.ncb *.suo *.tlb *.tlh *.bak *.[Cc]ache *.ilk *.log *.lib *.sbr *....

Git shallow submodules

Is it possible to have shallow submodules? I have a superproject with several submodules, each with a long history, so it gets unnecessarily big dragging all that history. All I have found is this unanswered thread. Should I just hack git-submodule to implement this? ...

How to synchronize configuration between git setups?

Hi, I'm new to git, and I'm doubting how can I synchronize config files between developers. Let's say I want all developers to have core.autocrlf set to true, or the same commit template, how can I do it? Any idea? Thanks! ...

Git - push to a remote-tracking branch in the remote repository

When simply doing git push to a remote repository, its master branch gets updated. This is undesirable in the case of non-bare repositories, and the warning message displayed by recent Git versions makes that clear. I'd like to be able to push to a remote repository, and have one of its remote tracking branches be updated. Later, when I...

Coder collaboration best practices using Git

Hello everyone. I'm having some troubles in understanding Git team-working principles. Consider a team of two programmers: A and B. They are working on a Project. Also, there is a remote server with a repo on it. A and B are collaborating remotely. There are some code in the repo already. I have a favour to ask you for help on organi...

Use Git for my own and Subversion in company

Hello, I would like to use Git for my own purpose and I must use Subversion repository in my company. I know that there is 'git svn' command but it requires lineral history also in git repository. The problem with that is that I would like: - to synchronize git repository with another my git repository on my remote disk so that I can s...

Git push to Assembla repository from multiple machines

I'm just getting to know git and I really can't find a documented solution to the following problem. Assembla.com allows only one public SSH key per user. The question is, is there a way to "push" from 2 different PCs? For example, creating a separate private/public key pair and sharing it between the 2 machines just for this use would h...

How do revert a local branch back to how it is in github?

I did a bit of development against the wrong branch in my local repository. I did a git branch without next doing a git checkout. The commands look something like this: #On branch development git branch release-v0.2.0b # changes and several commits git push origin release-v0.2.0b And that's when I realized I was working on the wrong...

Git push only for bare repositories?

Hello, When I tried 'git push origin master' to remote repository on my external disk, git warning occured stating that pusing to checkout repository will in next releases of git refused by default. On external disk I have checkouted project and I want to send changes that I did on my computer to these reposiotry. Is 'git push origin ma...

Git Log Stat Summary Results Clarification

In the screen below what does 30 ++++ means: ...

Is there a way to get the affected files of a commit with a git post-commit hook?

I'm using git within a perforce repository. I want to be able to know exactly what files were affected by a git commit so I can turn around with a post-commit hook and open those files for edit in perforce, so the perforce server knows about the changes. Is there a way I can get a list, within the post-commit hook, of exactly what files ...

What is the significance of slashes in git repository names?

I haven't been able to find this explained anywhere, so it probably means that if I was thinking about this issue correctly it would be obvious. Please set me straight. When I create a repository 'Project' on my gitosis server, I can access it with the URL git@server:Project.git. Which works great. Yet, I also see URLs of the form ...

git-svn create branch off past revision

I know how to create an svn branch w/git. But, can I do that off of a past revision/commit ? ...