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

learn more… | top users | synonyms

46
votes
3answers
11k views

Nautilus Git integration

Is there any equivalent to TortoiseSVN but for Ubuntu / Git? I'd like to integrate Git commands to Nautilus.
44
votes
9answers
37k 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?
34
votes
10answers
61k 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... ...
24
votes
1answer
4k 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?
21
votes
3answers
15k 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: ...
17
votes
3answers
1k 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
404 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
1answer
3k 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 ...
13
votes
3answers
13k 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 ...
11
votes
4answers
1k 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?
11
votes
2answers
4k 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 ...
10
votes
1answer
8k 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 ...
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 ...
8
votes
1answer
996 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
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
1answer
5k 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
2answers
146 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 ...
7
votes
2answers
1k 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

How to user 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. ...
7
votes
1answer
4k 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
7k 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, ...
6
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 ...
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
1answer
927 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
2answers
6k 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 ...
6
votes
1answer
592 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
9k 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 ...
5
votes
2answers
329 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 ...
5
votes
3answers
1k 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
369 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
3answers
2k 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
277 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
3k 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
7k views

error: gnutls_handshake() falied

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 ...
4
votes
2answers
2k 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
1answer
1k 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 ...
4
votes
1answer
326 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 # <-- ...
4
votes
2answers
9k 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 ...
4
votes
5answers
733 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
139 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
238 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
379 views

What are the steps for configuring gitosis?

Looking for setup steps for gitosis after installing from apt-get.
3
votes
1answer
9k 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)
3
votes
2answers
2k views

Confusion about git; how to undo?

I wanted to install some source code that was on git. Don't really know what that means ; I've never used git before, but I figured it was time to learn so, I first installed git. Next I tried to ...
3
votes
1answer
1k views

How to install Git on Ubuntu? [duplicate]

When I run this command: apt-get install git-core It shows: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory ...
3
votes
1answer
3k views

Can't install “meld”

I'm trying to install meld on Ubuntu (I use VirtualBox on Windows 7) in order to visualize git diff: sudo apt-get install meld But, it doesn't succeed: ... Get:9 ...
3
votes
3answers
611 views

Keeping files that are often changed in sync between desktop and laptop

I'm looking for a way to keep a desktop and a laptop in sync. What I want to keep in sync are some folders, mainly ~/Documents, that are changed often when working on them. If it matters I can ...
3
votes
2answers
1k views

Searching ppa for recent versions of git and cmake

I am searching for two PPAs for a Lucid Server. One for git, I found Git stable releases for Git, is this correct? I did not find any PPAs for cmake and need support for that.