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

learn more… | top users | synonyms

6
votes
1answer
593 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 ...
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 ...
3
votes
1answer
97 views

Howto handle packaging and development in one git repository?

From my point of view at the moment git-buildpackage is only intended for using upstream sources which are not in the same repository. I already have a git-buildpackage repository with the branches ...
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: ...
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 # <-- ...
1
vote
1answer
204 views

Git gui here script

I want to open git gui in any folder using context menu. It something like cd <path to folder> git gui in terminal. How to add this functionality into context menu?
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: ...
2
votes
2answers
604 views

How to get rid of gitolite-shell?

Even though the login shell of user 'git' is /bin/bash, when I try to ssh to the machine I get the following error: PTY allocation request failed on channel 0 bash: /home/git/bin/gitolite-shell: No ...
0
votes
1answer
169 views

How to set LOCAL_CODE in gitolite

I want to set the LOCAL_CODE variable in my .gitolite.rc. I tried to set $LOCAL_CODE = "/home/gitolite/.gitolite/local-code"; and the setting from this. But gl-query-rc LOCAL_CODE is empty. The Link ...
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?
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 ...
3
votes
1answer
124 views

make install - how to use wget, not curl

I do not have root access on my Ubuntu but want to install git. I was following this tutorial but when running make or make install it says curl is not installed. Can I use wget instead if this is a ...
3
votes
1answer
1k views

Git “fatal: protocol error: bad line length character: SSH-”

I'm trying to clone any repo by git:// protocol and get this error. fatal: protocol error: bad line length character: SSH- If I'll change protocol to https:// git will clone without errors.This ...
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 ...
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 ...
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 ...
0
votes
1answer
228 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 ...
0
votes
2answers
531 views

Git does not ask for passphrase during pull/push in terminal

I'm trying to use git from the terminal in my Ubuntu 12.04 desktop. My repository is hosted in Github, and I have the a key for my desktop. Whenever I do either "git pull" or "git push," a dialog box ...
1
vote
1answer
178 views

bash: how to make smarter auto-complete on tab press

Using the git status command, I had: modified: conf/test.conf Is it possible to configure bash in that way so when I type git diff *test.conf and press TAB for auto-complete, it would expand it ...
0
votes
2answers
251 views

How to fetch the website code in my local machine?

I have a local GIT repository in my system by name 'git_repo' under which I had the whole codebase for a website (pre-configured by someone else), including all the jsps, js, css etc. I used the ...
2
votes
1answer
705 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 ...
3
votes
1answer
266 views

Is there a way to show icons on a git repo folder like tortoiseGit?

Is there a way which could let me know all the file status by just looking at the folder view, like what TortoiseHg, TortoiseSVN, TortoiseGit did on windows? Now my git repo folder looks the same as ...
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 ...
3
votes
1answer
512 views

What are the advantages and disadventages of git or bzr + rsync vs rdiff-backup?

I used to use rsync to do backups, but then I switched to rdiff-backup to incremental backups. Recently, I discovered git and bzr while working on a coding project. So, I was thinking, I could have ...
3
votes
1answer
303 views

Permission to referance file in git changed on push

I have currently set up an ubuntu-server with gitolite and it works like a charm for the most parts. The only issue was when I downloaded and setup a web-gui (gitlist), to share my repositories. Im ...
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 ...
1
vote
1answer
9k views

Getting the program “repo”?

I'm trying to follow the instructions at http://developer.mips.com/android/android-source-code/ to install an android development environment on my Ubuntu 12 but I'm missing the program repo Could ...
0
votes
1answer
122 views

How do I recompile X.org from git?

I am having some problems with wheelmouse and mouse movement at the same time on ubuntu 12.04 and I found that the problem has been solved here: ...
0
votes
1answer
389 views

How do I compile and install gnome-tweak-tool from its git repository?

How I install the Gnome tweak tool from git://git.gnome.org/gnome-tweak-tool? I have install the Synaptic
1
vote
1answer
82 views

Which VCS to use for Ubuntu development?

I want to start contributing to Ubuntu projects and while going through the Beginner's guide, I noticed that the suggested VCS for Ubuntu development is Bazaar. I currently use Git and find it very ...
0
votes
1answer
2k views

I have a global .gitignore but files aren't being ignored, why?

I have a .gitignore_global in my home directory durrantm.../durrantm$ pwd /home/durrantm durrantm.../durrantm$ ls .git* .gitconfig .gitignore_global The .gitignore_global has: ...
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, ...
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 ...
2
votes
2answers
9k views

How do I set up Gitorious server on ubuntu?

I wanted to know how I can set up gitorious server on ubuntu and have it work locally. I'm running 12.04 and would like to get the latest version
0
votes
1answer
2k views

How do i fix problem with Ubuntu 11.10 server and gitweb?

Hi and sorry for bad english first :(... i have one ubuntu 11.10 server and i wanna make gitweb server. i refered to this site - ...
1
vote
0answers
708 views

what to do about .ssh-agent pop up at login screen? [closed]

I was setting up git with a ssh key passphrase on Ubuntu 12.04 via the terminal with the assistance of Help.GitHub: "You can run ssh-agent automatically when you open bash by adding the following to ...
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 ...
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 ...
1
vote
1answer
868 views

Failed to install Gnome-Shell-Extensions: Missing Separator

I'm trying to install gnome-shell-extensions in terminal using these instructions: Download Gnome Shell extensions by running following command: git clone ...
0
votes
1answer
165 views

Where to put git “remote” repo on purely local git setup?

I overwrote and lost some important scripts and would like to setup version control to protect my stuff. I've used git before, and am familiar with commands, but don't understand where I would put my ...
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 ...
3
votes
2answers
863 views

Why is git not using my pubkey with crontab?

To backup my sql database I have a cron job running that makes a mysql dump. Now I want to create another cron job that commits this dump to the repo, the problem now is that it doesn't work. In the ...
2
votes
2answers
2k views

How do I use git with google code on ubuntu?

I'm a beginner with git and google code, and I'm not sure how to set it up so that I can put my source on google code. I read some tutorials but I still don't understand.
2
votes
0answers
129 views

How can I fetch all in RabbitVCS Git? [closed]

Using command-line git I can fetch updates to all branches using git fetch --all. Is this possible in RabbitVCS? If so, how?
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)
0
votes
1answer
571 views

Kdevelop and git, commit button disabled

I installed KDevelop 4.2.3, enabled git plugin and created new project with git version control system. Repository was created in project directory and that's fine. However when I right click on file ...
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
928 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.
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