Tagged Questions

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

learn more… | top users | synonyms

1
vote
1answer
895 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
227 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
190 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
2k 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
374 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
273 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
530 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
371 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
16k 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
705 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
242 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 ...
26
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
469 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
222 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
830 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
242 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 ...
65
votes
11answers
84k 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
10k 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
146 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
310 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 ...
22
votes
3answers
25k 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
324 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
805 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
197 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
305 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
957 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
350 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
14k 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
580 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
371 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
14k 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
153 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
409 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
85 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 ...
1
vote
1answer
3k 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: ...
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 [email protected] I got error like this: jacos@Jing:~/.ssh$ ssh -vT [email protected] OpenSSH_5.8p1 Debian-7ubuntu1, ...
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 ...
3
votes
2answers
10k 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
755 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
383 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 ...