git

How to track who pushed into a Gitosis repository?

I'm using Gitosis to manage a set of repositories. The problem I have is that Gitosis doesn't maintain a record of which user pushed a particular commit. The only information I have are the "Author" and "Committer" fields in the commit itself, and these could be set to anything at all by the "pusher". Now I realise that a single "push...

git gui that shows branches well

I have been using gitk and am looking for something that shows all my branches and preferably the branches available on remotes. Could you recommend one? EDIT: I do a lot of rebasing between branches and like to easily see which branch pulled from where. Its more useful to see all the branches ...

How to add a git repository as a shared dependency of another git repository?

I need something akin to submodules, but which exist outside the main repository as a dependency. Here's the problem: I'm trying to use Git (in a REALLY awkward way) to manage design files for a CAD tool (Cadsoft Eagle), and I'm having a hard time figuring out if there is a way to use git submodules to manage each project's dependenc...

Is there an "impact graph" tool for non-GitHub projects?

Are there any tools to build an impact graph like that of GitHub's, that can be run on repos that aren't on GitHub? Maybe something that spits out a nice PNG or a <canvas>-based HTML file? ...

How to push from an often rebased git-svn repo

I do all my daily work through git-svn, queuing up checkins and rebasing like a mad-man :) the down side to this is I often have a couple days work queued up (tisk tisk i know) and it makes me a little nervous that its only in one place. If I was not using git-svn and rebasing all the time i would just push my changes to another computer...

How to manage GIT repository hierarchies?

I've used git in a distributed enviornment (including GitHub) in which developers work offline then push to the central repo. I now have a requirement for a more structured repository hierarchy because we have multiple offices. If we take an example we have developers based in Tallinn who will push to their remote repository. We also hav...

TortoiseGit - Slow Show Log Revision Query

Have this currently problem with TorotiseGit - Show Log taking ages to populate with the history. We have a repository with 300,000 files and recently about 3000 revisions ago, the administrator did a SVN move of one of the main directory's. Yes this means all 250,000 files where moved from one directory to the next. The biggest prob...

Where to find Qt's commits?

Hello, There's a regression in Qt 4.6.2 on Windows (setting border color from stylesheet does not work) that I decided to fix myself. This bug was originally reported in Qt 4.4, and was fixed in Qt 4.5, around December 2008. Unfortunately I cannot find the corresponding commit in http://qt.gitorious.org/, probably because the commit is...

Git Reverting a big PUSHed file

Hi All, I accidentally added (git add *) a big file (200+ MB) to a git repository. I commit the changes and pushed it. When I tried to pull changes on some other copy, it was taking too long. I canceled the pull, removed the file (git rm file), commit, and pushed again. But it's still taking too long to pulling on other working copy. ...

With git, temporary exclude a changed tracked file from commit in command line

I have a tracked database (already added) file in git. I want this file be always set to a certain state in my repository. Even when I modify it for test purposes. With git, how to exclude (not permanently) this changed already tracked file from a commit ? ...

Using git filter-branch to rewrite authors/committers and commit messages simultaneously

I have a Git repository originally imported from Subversion. Parts of the author/committer information are wrong, which is not Git's fault but mostly due to sloppy committing with Subversion. I would like to use git filter-branch to rewrite the history of the repository, fixing the committer and author information. The trouble is... I...

.gitignore file showing up in git status under untracked files

Git newbie here. I am probably making a simple mistake here, but I can't seem get my .user files to disappear from the git status output under untracked files. When you add a file to the .gitignore file, it should not show up at all in "git status" right? Here is my .gitignore file: .*.suo .*.user I have also tried it like this: .*\.u...

git pull VS git fetch git rebase

Another question on git pull and git fetch said 'git pull is like a 'git fetch + git merge'. But what is the different between git pull VS 'git fetch + git rebase'? Thank you. ...

expose the date a commit was pushed to a repository

I'm looking for a way to see the date a commit was pushed to a remote repository. Using git log you can see both the author date and the commit date; however, neither of these dates tell you when the developer actually got around to pushing the change up to the main remote repository. At first I thought what I was looking for was simpl...

Print commit message of a given commit in git

I need a plumbing command to print the commit message of one given commit - nothing more, nothing less. ...

Advantages that Git# (GitSharp) will bring over current alternatives on Windows?

With their August 2010 release (they have a very clean road-map on their site), what are the advantages Git# (or GitSharp) and applications based on it have over current alternatives on Windows? I mean advantages that could not have been possible without Git#. Edit: Question wasn't framed properly. ...

combining git and monotone

I need to work with an monotone repository. However I'm used to git and looking for way to push my changes into monotone (like git-svn). According to monotone doc I can import the monotone repo into git. But do you know some good way to push my changes from git back to monotone? ...

can i pull a dirty tree with git?

I have a build system that I use to test the code I am currently working on. I would like the build script to pull the current code as quickly as possible from my workstation's git repo. I'm looking to quickly pull any changes from origin/master along with any modified files. ...

Git confusion - getting git repo on server after switch from svn

I have a 3 year old svn repo I just converted to git using git-svn. Then I cloned the new repo and want to copy it to a our main server (running ssh). The git project is organized like this: ~/server.com/ ~/server.com/.git ~/server.com/htdocs ~/server.com/includes etc. Following the instructions in the gitpro book, it says to use sc...

git: keeping repos in sync despite chopped history

Background: I'm in the process of cleaning up a project before releasing it as open-source. During the code history there's been a bunch of things I don't really want to show up in a public repository (swearing in comments, hardcoded paths, embarrassing pieces of code), so I only want the public to see the code base after the cleanup cut...