Git is a distributed revision control system with an emphasis on speed.

learn more… | top users | synonyms

68
votes
11answers
90k views

Best GUI client for Git?

I am using git for version control of various projects. Is there easy-to-use software for navigating through commits and branches of a project and for retrieving versions?
48
votes
3answers
13k views

Nautilus Git integration

Is there any equivalent to TortoiseSVN but for Ubuntu / Git? I'd like to integrate Git commands to Nautilus.
41
votes
8answers
81k views

Setting up a git server

I've recently set up ubuntu-server on Amazon EC2. I would like to use it as my git server, so I could store my repos there. So, where can I find some detailed instructions of how to setup git on ...
30
votes
0answers
25k views

How to setup a Git server? [duplicate]

I am trying to setup a Git server could. Can anyone tell me how to set up a Git server, so that client machines can connect to that server and make use of Git version control for their projects... ...
29
votes
3answers
22k views

Why do I get this warning from Gnome keyring in Xubuntu?

I have installed xubuntu-desktop ontop of a stock Ubuntu installation. When using ssh, or more specifically git, I always get this warning WARNING: gnome-keyring:: couldn't connect to: ...
29
votes
1answer
6k views

What are the differences between the git and git-core packages?

Why there is a git package and a git-core package? Is there any difference?
27
votes
2answers
20k views

Enter SSH passphrase once

Before upgrade When I was running git clone git@... (using ssh) once per computer restart a window dialog was appearning that was containing a textbox where I was intersting my ssh passphrase and ...
24
votes
3answers
26k views

git config global file - remove settings

The following command: $git config --global --list gives me: user.name=test user user.name=gotqn I want to remove the first name. I refers to this article and do the following commands but ...
18
votes
1answer
4k views

Git on Launchpad

I develop most of my code in Git repos, now that I've become slightly more active on Launchpad I've started picking up Bazaar which has two "small" difference from Git's workflow that ride against how ...
17
votes
3answers
2k views

Using Git as off-line alternative for Dropbox

I am working with lots of text files daily and I use Dropbox as a way to restore earlier versions of files in case something goes wrong. I am looking for simple way to suplement/replace Dropbox in ...
16
votes
1answer
418 views

How do I get “Quickly” to use Git?

How do I get Quickly to use Git as its default version control instead of Bazaar?
15
votes
2answers
12k views

upgrade git on Ubuntu 10.04 (Lucid Lynx)

I currently have Git 1.7.1.0 installed but need to upgrade to 1.7.1.1 (at least). I tried running: sudo apt-get update sudo apt-get upgrade and also tried sudo apt-get install git-core but each ...
11
votes
4answers
2k views

How can I import bzr branches into git?

I am quite used to using git, is there an easy way to import/export from bzr into git and back bzr once I have made commits?
10
votes
1answer
8k views

How to use multiple ssh keys with different accounts and hosts

i have multiple ssh keys and i have also have account on bitbucket and github. how when ever i use pull it gives me error :/var/www/proj$ git pull origin master conq: repository access denied. ...
10
votes
3answers
3k views

Issues checking out code from Google Code

I've recently upgraded to Ubuntu 11.10 and since then, I haven't been able to checkout code from Google Code. I can't get it with either svn or git, but they were both working before the upgrade (so ...
9
votes
2answers
15k views

“error: gnutls_handshake() falied” when connecting to https servers

When I try to connect to any HTTPS server with git, it gives the following error: error: gnutls_handshake() failed: A TLS packet with unexpected length was received. while accessing ... fatal: HTTP ...
9
votes
1answer
3k views

Install a more recent version of git on a LTS

I can't upgrade my lucid lynx 10.04 LTS because newer distributions of ubuntu don't work on that computer. I need to install a git version 1.7.10 for credential management. Git version is 1.7.0.4 on ...
9
votes
5answers
6k views

Connection timeout when accessing Github [closed]

I have exactly the same problem as described here: http://stackoverflow.com/questions/12849986/connection-timeout-when-accessing-github So I'll just copy & paste: I have some weird problems. ...
8
votes
1answer
1k views

HEAD is now at 9e52a21

I am trying to run a kernel module on a Nexus 7 emulator on Ubuntu. I ran this command in the terminal: git clone https://android.googlesource.com/kernel/msm.git Then I want to checkout this: git ...
8
votes
2answers
268 views

How do I submit a patch to a Launchpad project?

With a Git/GitHub background and knowing very little about Bazaar VCS, I would like to occasionally report a bug to projects hosted on Launchpad, and even send a patch. I'd like to do it in a ...
8
votes
2answers
7k views

Error Installing Git with Apt-Get

When I attempt to install git on a server distribution of Ubuntu 11.04, I get an error. I used the following command: sudo apt-get install git And that generated this error: (Reading database ...
8
votes
1answer
2k views

Does it make sense to store a git repo on Ubuntu One?

I'm working on a small project, mostly at home, but I'd like to be able to access my git repo from multiple machines, all of which are connected to Ubuntu One. Do you think I can safely store my ...
7
votes
3answers
11k views

git ssh :Permission denied (publickey)

I tried to use github so I followed the help doc. But when I used this command : ssh -vT git@github.com I got error like this: jacos@Jing:~/.ssh$ ssh -vT git@github.com OpenSSH_5.8p1 Debian-7ubuntu1, ...
7
votes
1answer
8k views

Prepend current git branch in terminal

How can I configure the terminal to display the current git branch? I'd like to see the second line rather than the first: andy@bob:~/my_projects/project_x$ (master)~/my_projects/project_x$ I ...
7
votes
4answers
8k views

Really verbose way to test Git connection over SSH?

When using GIT, I have problems with using GIT over SSH, and since it works just fine both from work, and at home with a different modem, it's obviously my home modem that is acting up. I have no ...
7
votes
2answers
11k views

Ubuntu 12.04 Gitosis no longer available

I have an Ubuntu 11.10 box running git server using gitosis, installed as described here https://help.ubuntu.com/community/Git I just tried upgrading to 12.04 doing a do-release-upgrade, and the ...
7
votes
3answers
2k views

How to alias 'git' to 'g' so that bash-completion rules are preserved?

If I do this: alias g='git' I loose all completion rules (i.e. branches and remotes are no longer being automatically completed when I hit TAB after typing, for example g push o).
7
votes
1answer
5k views

Setting up gitweb/apache2

I have recently began storing code, that I write on a local server I have at home. I was hoping to start a gitweb instance at home so I can see commits and track progress with my other team mates. I ...
6
votes
3answers
11k views

How to install git server on my ubuntu desktop 12.04

I'm developing a project on my desktop and I'm in need of a version control mechanism. I'm working on ubuntu 12.04, desktop edition. I would like to have a git server installed on localhost and also ...
6
votes
4answers
2k views

How can I have a shell for git like in Windows?

When I use Windows, the shell (even a standard Windows shell) shows basic information about the git repository when you are in a git repository. Things like the active branch and maybe some color ...
6
votes
1answer
2k views

How do I integrate git with emacs?

What do I need to install to be able to do something like the lines below in Ubuntu 11.04? M-x git-status git-commit-file command (c key) git pull git push
6
votes
2answers
505 views

Is there an application to manage config files in the /etc folder with version control software?

I want make version control for config files in Ubuntu server. But I found out it's not easy for simply "git" whole etc folder, because so many file doesn't need to track and some time system will ...
6
votes
1answer
1k views

How do I show the number of lines added(and deleted) in git? [closed]

I have to display the number of lines added(and deleted) to a certain file by all commits.
6
votes
1answer
715 views

How can I conditionally change the nautilus background color?

I would like to have the nautilus background color different if the current folder is being managed by git (i.e., if there is a .git directory in it). Any ideas how to do that? Ideal solution would ...
5
votes
3answers
3k views

How can I run SSH as a different user on the same Ubuntu installation?

I am creating a script which runs a series of command that would download a website to a machine and sets up everything. So most of the commands require root access. For example adding a vhost in ...
5
votes
1answer
484 views

How do I add a custom context menu for 'git gui' in Nautilus?

What I want to achieve is to get a "Git GUI here" item in the context menu of Nautilus (file manager). It should this easy job I would do in a terminal: cd "path/to/current/folder" git gui # <-- ...
5
votes
1answer
385 views

Where to obtain Ubuntu Supplied Third-Party Device Drivers Patches to apply them to vanilla kernels?

For testing purposes I usually download the ubuntu kernel available from git and build it for my PC. But usually the stable version of Ubuntu kernel is not always in sync with the latest stable ...
5
votes
2answers
12k views

Git ssh error: port 22: no route to host

I tried to use set up git and use it for github, then when I followed the help doc, but when I got to step 5 of the set up ssh keys section :Test everything out , When I used this command: ssh -T ...
5
votes
3answers
3k views

How to make gui based setup of git server?

I have 1 git server and few systems(git installed) connected to server. I'm trying to setup a gui based setup for server and clients systems both. I'm have Ubuntu on all systems. Could anyone help ...
5
votes
1answer
2k views

How to fix git autocomplete in Ubuntu 13.04

In previous version of Ubuntu 12.10 when using git from command line autocomplete of commands, branches, tags... worked. After installing fresh Ubuntu 13.04 and git it does not work. What to set up to ...
5
votes
1answer
311 views

Git autocomplete is asking for a password, not sure why

I'm running into an issue with autocomplete using git... I am using ubuntu 12.10 and when I perform the following keystrokes g i t Space Bar Tab I am presented with the error Pseudo-terminal ...
5
votes
1answer
4k views

apt-get install git-core failed

After running sudo apt-get install git-core, I get Unpacking git-core (from .../git-core_1%3a1.7.4.1-3_all.deb) ... Errors were encountered while processing: ...
4
votes
1answer
15k views

tortoisegit for ubuntu

Are there any alternatives to ToroiseGIT for Ubuntu? I'm looking for something to integrate GIT with nautilus in the context menu. Like TortoiseHG used to (replaced with HG scripts)
4
votes
1answer
325 views

Why does the terminal not hold my root password for sudo? [duplicate]

I stopped using Ubuntu for a while (since 12.10) and recently came back to it. From what I remember, it used to only ask for the root password once for a terminal session (for sudo commands). Now it ...
4
votes
3answers
3k views

Download files from Git + GUI

This post is related to downloading files from Git Repository on Ubuntu 11.10. I have installed 'Git' from Software Centre including the components like GUI, revision tree visualiser etc etc The ...
4
votes
5answers
1k views

Discover Whether A Program Is Installed From Python3 Script

Within my python3 software I need to check to see if git is installed. I know that from the terminal I can type: dpkg --get-selections > filename to find what programs are installed and then put ...
4
votes
1answer
2k views

Hourly GIT Push

Is it possible for me to automate a Git push every hour via a batch script. I would typically type in this: git add * git commit -m "latest update" git push ...
4
votes
1answer
184 views

How do I sort the authors of a repository by the number of contributions using git?

The name of an author is exactly the one given by the "Author" line of a commit. When I list the authors, their names must be followed by the number of commits they have.
4
votes
2answers
273 views

GIT, SVN, Mercurial and Bazaar packages available to install (GUI & Terminal)

What packages are available in Ubuntu to use the following distributed version control systems via Terminal or GUI? GIT SVN Mercurial Bazaar
4
votes
4answers
384 views

What are the steps for configuring gitosis?

Looking for setup steps for gitosis after installing from apt-get.