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

learn more… | top users | synonyms

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 ...
0
votes
0answers
16 views

Could not get lock /var/lib/dpkg/lock [duplicate]

When I tried to set up git in my computer I encountered the following error: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the ...
1
vote
2answers
4k views

How to complete uninstall git from Ubuntu Desktop 12.04?

About 6 months ago I tried installing git and ended up botching the install/configuration. I was then called away to another project and no longer needed to use git. I'm back to the project now, and ...
3
votes
2answers
151 views

How can I compile a .deb file for network-manager's git

I need to install a version of network-manager that has the enhanced nmcli (allowing creation of new connections from cli only), and I wasn't able to find a PPA with a recent enough version. How can I ...
2
votes
1answer
1k 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. ...
2
votes
2answers
2k views

How do I prevent git from requiring sudo on every git command

I created a directory /var/www to store my web apps clone in. When I initially cloned the app from github it required me to use sudo and every time I do a git pull it's requiring sudo. I'm running ...
0
votes
2answers
451 views

How to invoke Git GUI?

I installed Git (the one that says "Fast, scalable, distributed revision control system") from Ubuntu software center. I also choose the optional packs (git-gui and gitk). All of these steps got ...
5
votes
1answer
6k views

Really verbose way to test Git connection over SSH?

When using GIT, I have problems with using GIT over SSH, and since it works just fine both from work, and at home with a different modem, it's obviously my home modem that is acting up. I have no ...
3
votes
1answer
410 views

How to make etckeeper use the right value for git author & email with apt-get

I'm using git with etckeeper. When I use sudo git to commit changes in /etc/, GIT_AUTHOR_NAME & GIT_AUTHOR_EMAIL from my env are used (as intended). When I use sudo apt-get and changes are ...
2
votes
2answers
3k 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 ...
0
votes
2answers
2k views

How to install Git in Lubuntu (APT is “Unable to locate package libcur14-gnutls-dev”)?

I've tried to install git to my laptop which runs lubuntu.I followed the pattern on git website and it says : To install Git, you need to have the following libraries that Git depends on: curl, ...
8
votes
1answer
2k 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 ...
0
votes
1answer
179 views

How to compile git for solaris under ubuntu? (cross compile git)

I'm renting webspace with SSH access and I want to host a git repository on it. I can log in using SSH and put websites up. However, git is not installed on the server. Unfortunately, GCC is also not ...
1
vote
1answer
198 views

running git status resets permissions on index file

Trying to sort out if this is a git bug or something with Ubuntu. Basically about half the time an interaction with the git index file results in the permissions on that file being changed to the ...
0
votes
1answer
1k views

fatal: read error: Connection reset by peer

vijay13@ubuntu:~$ git clone git://anongit.kde.org/plasma-mediacenter Cloning into 'plasma-mediacenter'... fatal: read error: Connection reset by peer Can someone please help me to get rid of above ...
0
votes
1answer
48 views

problems in git upgrade

when I run upgrade in my ubuntu 10.04,the result is ~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages have ...
3
votes
2answers
1k views

Is there a git indicator to get notification on commit, pull?

Is there an indicator for watching a git repository and get notification on commit, push, ... ? Searching "indicator ubuntu git watch repository" send me a lot of indicator hosted on github... can't ...
1
vote
2answers
1k 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?
0
votes
1answer
238 views

effects of initializing git repository on linux root directory 3:)

I am running beaglebone black on ubuntu installed on sd card. i am learning to program the device in trial and error method by installing various packages (just like CERN guys study sub atomic ...
4
votes
1answer
2k views

How to fix git autocomplete in 13.04

In previous version 12.10 when using git from command line autocomplete of commands, branches, tag ... worked. After installing fresh 13.04 and git it does not work. What to set up to make it work ...
0
votes
1answer
497 views

Fatal error in installing Git

I am trying to install Git for Ubuntu 12.04, but running the git commands is giving me the following error message: Cloning into 'neha'... fatal: bad config file line 1 in /root/.gitconfig Using ...
4
votes
1answer
1k 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 ...
1
vote
0answers
69 views

Why can not use git commit -m?

I tried to commit change and add comment: $ git commit -am "update Calculator clear and reset" --amend commit failed: (use 'git commit' or 'git commit -a' to commit changes) (can not ...
1
vote
1answer
215 views

Shell script now working on post/get request

I have a simple script in php to fetch files from my github repository <?php echo shell_exec('git pull'); ?> When I ssh into my server and run this script like this: php github.php I see ...
2
votes
2answers
1k views

What is managing SSH keys in Unity, and how do I reset / disable / configure it?

I'm using Ubuntu 13.04, and recently changed my ssh keys. For some reason Unity, or something in Gnome (seahorse?) doesn't seem to be recognizing it. The keys were generated on a different machine, ...
2
votes
3answers
610 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
923 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
271 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
3k 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 ...
13
votes
1answer
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
440 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
841 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
786 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
214 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
176 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 ...
9
votes
1answer
7k 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
2k 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
315 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
244 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
475 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
2k 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
337 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
14k 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
675 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
7k 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
225 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 ...
25
votes
3answers
20k 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
426 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 # <-- ...