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

learn more… | top users | synonyms

151
votes
14answers
216k views

What are some GUI clients 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?
28
votes
1answer
12k views

How do I install the latest version of Git with apt?

I read about a security flaw in Git, which was fixed in version 2.2.1. I currently have Git 2.1.0 on my system (Ubuntu 14.10), and tried to reinstall it with apt. However, apt told me that I currently ...
29
votes
4answers
29k 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: ...
52
votes
8answers
114k 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 ...
60
votes
6answers
69k views

Enter SSH passphrase once

Before upgrade When I was running git clone git@... (using ssh) once per computer restart a window dialog appeared containing a textbox for inserting my SSH passphrase and confirmed with OK. Then the ...
26
votes
1answer
44k views

“error: gnutls_handshake() failed” 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 ...
11
votes
3answers
20k views

How to start git-gui?

I've installed git-gui tool via sudo apt-get install git-gui. But how do I start it? Trying with search or git-gui command did not find and UI tool for Git.
8
votes
3answers
17k 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, ...
1
vote
1answer
655 views

“git.osmocom.org: Name or service not known” while cloning osmocom.org repository

I tried to install a GNU Radio module using this comamand: git clone git://git.osmocom.org/rtl-sdr.git but I got this this error: Cloning into 'rtl-sdr'... fatal: unable to connect to ...
54
votes
3answers
17k views

Nautilus Git integration

Is there any equivalent to TortoiseSVN but for Ubuntu / Git? I'd like to integrate Git commands to Nautilus.
13
votes
2answers
531 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 ...
16
votes
1answer
437 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?
2
votes
1answer
415 views

How to build and install a cloned GitHub library?

I've used git clone to make a local copy of a GitHub repository containing a video driver I'd like to use. The local copy contains all of the source for the program; but as a newbie to Ubuntu, I've no ...
11
votes
1answer
4k 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 ...
11
votes
2answers
12k 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 ...
3
votes
2answers
69 views

Is there a way to use GIT to manage OS packages so that if i 'sudo' break something I can easily revert?

I'm very novice when it comes to OS management, so if this question is ignorant please be kind. The idea is pretty self explanatory, essentially keep a text file of packages&versions, every ...
0
votes
1answer
687 views

gerrit push not working

I tried executing the command git push gerrit HEAD: refs/for/BR_PS_1109 It gave the response: fatal: remote part of refspec is not a valid name in HEAD: Git remote version is also fine, as evident ...
19
votes
2answers
14k 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. ...
17
votes
3answers
19k 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 ...
12
votes
6answers
4k 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
2answers
1k 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 ...
3
votes
3answers
750 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 ...
7
votes
1answer
4k 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 ...
7
votes
2answers
12k 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 ...
4
votes
1answer
4k views

How to build and install latest SimpleScreenRecorder from git?

I want to install SimpleScreenRecorder (SSR) from git as recommended by the developer. The binary version crashes and it is possible that the git version already has the fixes for my crash problem. ...
3
votes
3answers
9k views

Git cloning error

I've just started to learn git and I tried to run this command : git clone git://github.com/schacon/ticgit.git It did not work and I got this error message ...
6
votes
2answers
5k views

Change git's language to English without changing the locale

My locale is German. LANG=de_DE.UTF-8. I would like to keep it. Is it possible to change git's language to English without changing the locale?
2
votes
2answers
308 views

How should I install Git on Ubuntu Touch?

I've got a nice little BQ Aquaris E4.5 Ubuntu Edition here and I'm trying it out. Is there a sensible way to install Git on it? It doesn't appear to be available via the default repositories.
1
vote
2answers
3k views

How to install gitg 0.3.3 on Ubuntu 14.04?

I want to install gitg version 0.3.3 on Ubuntu 14.04. How can I do that?
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... ...
3
votes
2answers
567 views

Why don't git colours appear when using watch?

When running git status -sb I see: I want to watch (from procps-ng 3.3.3) a repository. The --color option is supposed to keep colours. Interestingly, it works with ls: $ watch --color "ls ...
3
votes
1answer
2k views

How can I create a launcher and also have it in the apps toolbar

I want an app icon for smart git. I can create one on my desktop with $ gnome-desktop-item-edit ~/ --create-new and selecting the smartgit.sh app. That works for an icon on the desktop. How ...
2
votes
1answer
7k views

Git - URL does not appear to be a git repository

I just started using Git and now I'm experiencing a problem. I have a production server and a local development repository. All files on my local master branch should be on the production server. So ...
2
votes
2answers
6k views

Using authorized_keys with git

I have transfered my ssh key from my root to my user account by ssh-copy-id command so now I have these files in my .ssh folder user@user-php:~/.ssh$ ls authorized_keys config id_rsa id_rsa.pub ...
1
vote
1answer
256 views

!Git clean running 100% CPU

I'm having a really strange yet annoying issue with git, for some reason it's running 100% CPU usage on one of the cores for no reason. When viewed in htop its trying to run git clean -nd . and I've ...
1
vote
1answer
442 views

Creating a repo with git( or any version control)

I have all my code/projects as repos in github. I use git a lot, I do have few projects which I cannot push to github at the same time, I want to keep a backup on my External Hard drive, is there any ...
0
votes
0answers
58 views

Sub-process /usr/bin/dpkg returned an error code in16.04LTS

During install of git-all error code (1) is displayed. after on running the following commands the output are: sudo apt-get install git-all [sudo] password for yash: Reading package ...
0
votes
1answer
53 views

Display Current branch name in ubuntu terminal

I have followed the steps given in the accepted answer in this question - Prepend current git branch in terminal. But even after adding following code to .bashrc and restarting the laptop, I do not ...
0
votes
1answer
2k views

How to fix error processing package git-daemon-run?

I am trying to install php curl like so: sudo apt-get update sudo apt-get install php5-curl But I keep getting an error. Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
46 views

Error get while installing ardupilot on virtualbox ubuntu 14.04.3

I want to implement ardupilot. I installed ubuntu-14.04.3-desktop-64 bit version via VirtualBox on windows8.1 on D drive and username is jaydeep. Still this all fine. Now as per above link the first ...
0
votes
1answer
464 views

Wine Steam Error: Unhandled exception: unimplemented function x3daudio1_7.dll.X3DAudioInitialize called in 32-bit code (0x7b83ba4e)

I am trying to implement a patch fix for the addressed error in the title. I found the following wine-git patch that was said to address the issue: ...
0
votes
2answers
59 views

How do you “compile” something in Ubuntu?

I'm trying to use Gfx Tablet. However, I am struggling to interpret the installation instructions given by the developer. http://rfc2822.github.io/GfxTablet/#part-1-uinput-driver His instructions ...
0
votes
1answer
158 views

Adding git repositories to python 3 interpreter

I am working with Ubuntu 14.4 Trusty Tahr LTS on EC2. I want to use the Python 3.4.0 interpreter which is installed by default. I want to be able to be able to add git repositories to be accessed by ...
0
votes
2answers
3k views

Git 1.7.9.5 Upgrade to current release of GIT 2.x on ubuntu 12.04 [duplicate]

I'm currently on ubuntu 12.04 and since this is an older version of ubuntu i have git 1.7.9.5 installed and i'm not sure how i can upgrade this to git 2.x. what do i type to install git 2.x (sudo ...
0
votes
1answer
401 views

Which Ubuntu (git) linux kernel tree matches my installed kernel?

Answering a recent question, and before that, trying to see if a patch which is fundamental for my machine had been included in a kernel release, I have found the following problem: How can I match ...
0
votes
1answer
1k views

I downloaded ruby on rails, but it says it isn't installed.

I downloaded ruby on rails on ubuntu 12.10 through this tutorial http://technical-feeds.blogspot.ca/2013/02/how-to-install-ubuntu-and-ruby-on-rails.html. I did everything and it worked fine. I ...