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
2k 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
134 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
775 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. ...
1
vote
2answers
1k 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
250 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 ...
0
votes
0answers
36 views

How do I clone EDK 2 to avail of the CorebootPkg

Well, I had successfully compiled EDK2 as per the UEFI/EDK2-Ubuntu guide. It got me a bit well versed in EDK 2 Build environments, building OVMF images and so on.Since my intentions were in the ...
2
votes
1answer
3k 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
178 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
2k 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
1k 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, ...
4
votes
1answer
1k 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
131 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
127 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
758 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
45 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 ...
2
votes
2answers
808 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
1answer
613 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
0answers
77 views

How do I install a patch for nautilus when there are no instructions?

I have just downloaded a patch for Nautilus which should address an earlier question I asked on How do I remove the borders from Desktop icons. The link to the patch was sent to me by Radu Rdeanu ...
0
votes
1answer
168 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 ...
0
votes
0answers
89 views

What folders and settings are best for php development using Ubuntu, Netbeans, a remote git repository and a localhost apache MySQL server?

So, here's the use case, I want to download a repo, set it up on a vhost, work on a branch / branches. My problems are knowing 1) where to put the vhost so that my user and apache can both access it ...
3
votes
1answer
968 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
289 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 ...
3
votes
1answer
958 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 ...
0
votes
0answers
362 views

How to COnfigure Redmine and GitLab on One Apache Server?

Basically Currently I have three servers running, two for Redmine, and one for GItLab. Now in order to remove the overhead of starting all three server one by one I want to just run one server and all ...
1
vote
0answers
66 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
174 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
929 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
478 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
0answers
538 views

Git SSH authentication

First of all I would like to know in Ubuntu 12.04 how ssh authenticates key (like which files are referred for the public key). Say for an example I have a user name gitolite I want to provide SSH ...
0
votes
1answer
772 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
841 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
212 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 ...
2
votes
2answers
2k 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 ...
10
votes
1answer
8k 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 ...
5
votes
2answers
331 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
565 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
585 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
192 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
136 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 ...
7
votes
1answer
5k views

How to user 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
1k 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
174 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
188 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
374 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
1k 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
259 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 ...
1
vote
2answers
8k 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 ...