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

learn more… | top users | synonyms

2
votes
3answers
698 views

migrate git repositories

I have an old laptop IBM Z61t as my git server. I want to upgrade my laptop server to a desktop server(the laptop server will not use anymore). how could I setup and migrate the git repositories to ...
0
votes
1answer
1k views

git get ubuntu kernel source through http proxy

I try to run below command to get kernel source code in ubuntu 12.04. git clone git://kernel.ubuntu.com/ubuntu/ubuntu-precise.git As my machine is in a private network, I need setup a http proxy ...
3
votes
2answers
1k views

How can I install git-annex assistant

I install recently git annex in ubuntu 12.10 using APT. However, the package seems to be built without the assistant support. Is there a PPA or another way of installing it ? I'd rather avoid ...
1
vote
0answers
293 views

Install git on ubuntu with lamp

i have Ubuntu 12.10 on my server and i need lamp on it, i want to use git on it - which i'm new to -... so I've read This article about how to install git , it says that i should have public ssh key ...
3
votes
2answers
4k views

NVM Command Not Found Issue [duplicate]

Attempted to add to this question: NVM Command Not Found, however wasn't able to. After installing nvm im having the same issue, here is the log from terminal: Michael-iMac:~ michaels_imac$ curl ...
15
votes
2answers
11k 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 ...
6
votes
2answers
502 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 ...
0
votes
1answer
959 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 ...
1
vote
1answer
938 views

Git push not working in Ubuntu

I don't know what I'm doing wrong but I cannot make git push work in Ubuntu (12.10). I already tried from command line, NetBeans IDE and RabbitVCS. This is a list with the errors I get: netbeans: ...
0
votes
1answer
229 views

How do I prevent these errors from showing up with GNOME keyring?

Background Trying to update a repository, after a fresh install of Xubuntu 12.04, using: git pull Problem The following message appeared: WARNING: gnome-keyring:: couldn't connect to: ...
3
votes
1answer
199 views

How can I merge unversioned MonoDevelop code back into a git repository?

My group partner and I are creating a MySQL database application with a GTK# frontend. Our application consists of a main window with information displayed in multiple tabs. My partner started most of ...
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. ...
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 ...
2
votes
2answers
3k 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 ...
2
votes
1answer
396 views

How can I create popup windows?

I have a small script run by cronjobs to synchronize a git repository every 2 hours. The git will be pushed to the server with a constant message. How can I have a popup windows which ask the message ...
2
votes
0answers
277 views

Clone GIT from SAMBA network share

Has anybody successfully cloned GIT repository to Ubuntu from a SAMBA network share? I have access over file manager and can ls over command line, but cannot clone Also, in git cola, qgit and gitg I ...
1
vote
1answer
534 views

Couldn't find package git

So I am trying to install git with the following command as listed on the git Linux download page: sudo apt-get install git After that command I get the following error: Reading package lists... ...
3
votes
3answers
3k views

Is there a graphical git commit application to show diffs and set a commit message?

As part of my work I regularly commit to git. I have a fabric script that does an interactive commit: git commit -a which shows me which files have changed in nano and then lets me write a commit ...
1
vote
0answers
388 views

Problem Installing git kubuntu

I have installed both git and git-core using sudo apt-get install git git-core still when i try to run some git command on terminal, I get the following error message: The program 'git' is ...
2
votes
3answers
17k views

Trouble setting up git error: could not lock config file

I'm getting this error when trying to set the global config: $ git config --global user.name "Your Name Here" error: could not lock config file /pathto/file/.gitconfig: No such file or directory ...
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 ...
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 ...
3
votes
1answer
250 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 ...
29
votes
3answers
21k 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: ...
5
votes
1answer
482 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
225 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
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: ...
2
votes
2answers
848 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
251 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 ...
67
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?
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 ...
3
votes
1answer
147 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 ...
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. ...
3
votes
1answer
2k 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
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 ...
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 ...
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
339 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
837 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
199 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
309 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
993 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
369 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 ...
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 ...
3
votes
1answer
590 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
379 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
15k 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
158 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
410 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