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

learn more… | top users | synonyms

0
votes
1answer
113 views

git: where cloned remote repository is saved?

I cloned OpenCV using: git clone https://github.com/Itseez/opencv.git Now I want to know where is downloaded in order to unpack it. All what I know is: dpkg -L git leads me to this directory: /usr/...
1
vote
1answer
295 views

Accessing Git from Assembla using SSH+RSA

I have just created a repository on Assembla using a Git repository and I have followed their "Getting started with Git" page : I validated my git user.email and user.name. Since I'm also using the ...
0
votes
1answer
103 views

Cloning a Git Repo from a Windows Dropbox Server

I've set up a git repo on my Windows desktop successfully, but I'm having a little difficulty cloning the repo onto my Ubuntu laptop. I use TortoiseGit on my Windows desktop, but I want to start ...
2
votes
2answers
574 views

What is the best practice of customizing the Bash prompt (aka the PS1 environment variable)?

I am trying to add Git branch name to my Bash prompt by changing the PS1 variable like this: PS1=`echo "$PS1" | sed 's/\\\\\$ $/\$(__git_ps1)\\\\\$ /'` And if I understand correctly, it is not ...
2
votes
0answers
96 views

Why is `git clean` always running?

Summary: I noticed that my system was always busy doing something, even when it should be idle. It turns out that git is always running -- specifically, in the System Monitor I can see git clean -nd /...
1
vote
0answers
1k views

Smart HTTP git backend with apache2

I'm trying to use the smart HTTP functionality of git on my Ubuntu Server. I've read the documentation for both smart HTTP and git-http-backend, as well as the documentation for apache; but for the ...
0
votes
1answer
340 views

How to install Git GUI on my local machine that runs on Ubuntu 12.04 LTS 64-bit OS? [duplicate]

I'm running Ubuntu 12.04 LTS 64-bit OS on my local machine. I want to setup/install Git GUI on this machine. Then I'm having one repository at GitLab that I need to make clone of on my machine, then I ...
0
votes
1answer
2k views

How to install gitolite3 on ubuntu server LTS 14

I am trying to install Gitolite3 on Ubuntu server LTS 14 x64, using the git docs. First I created a user called git as : sudo adduser \ --system --shell /bin/bash --gecos\ 'Git SCM' --group --...
0
votes
1answer
163 views

Adding git repositories to python 3 interpreter

I am working with Ubuntu 14.4 Trusty Tahr LTS on EC2. I want to use the Python 3.4.0 interpreter which is installed by default. I want to be able to be able to add git repositories to be accessed by ...
1
vote
0answers
1k views

Cannot use git command, get no such file error

When I try to use git (even just typing git, git clone <repo>, etc, I get this error: bash: /usr/games/git: No such file or directory but git works with sudo just fine. which -a git returns /...
1
vote
0answers
279 views

Git and SFTP - How to separate them?

We have a local development server with Ubuntu 14.04. We use SFTP with vsftp, and Git. Some coworkers have access over SFTP (without ssh access, /usr/bin/nologin and sftponly group), and other ...
0
votes
1answer
474 views

problem with using git using private key

sorry if this question seems so easy but I'm new with UBUNTU and I still couldn't figure that out. I've been given a private key with password to clone and install a software from a repository using ...
11
votes
2answers
6k views

Upgrade Git version on Ubuntu 14.04

Can please somebody tell me what is wrong with this? I run $ sudo apt-get purge git; sudo apt-get autoremove; sudo apt-get install git Reading package lists... Done Building dependency tree Reading ...
0
votes
1answer
109 views

The indicator-netspeed is not displayed

I have installed Ubuntu 14.04 LTS and I want to install this indicator https://github.com/mgedmin/indicator-netspeed So, I pasted this into my Terminal sudo apt-get install build-essential ...
0
votes
2answers
11k views

Can't get anything to install, dependency errors

I'm extremely new to Linux/command line stuff, so please forgive my ignorance. Every time I try to install anything using sudo apt-get install ... I get dependency errors. I'm trying to get OpenSSH ...
1
vote
1answer
1k views

How do I setup services to start when Gitlab is ready?

I have a few Upstart services that I would like to have started once Gitlab is started and ready to serve repositories. There is a gitlab-runsvdir Upstart service (came with the gitlab package) that ...
0
votes
2answers
3k views

Git 1.7.9.5 Upgrade to current release of GIT 2.x on ubuntu 12.04 [duplicate]

I'm currently on ubuntu 12.04 and since this is an older version of ubuntu i have git 1.7.9.5 installed and i'm not sure how i can upgrade this to git 2.x. what do i type to install git 2.x (sudo ...
30
votes
1answer
14k views

How do I install the latest version of Git with apt?

I read about a security flaw in Git, which was fixed in version 2.2.1. I currently have Git 2.1.0 on my system (Ubuntu 14.10), and tried to reinstall it with apt. However, apt told me that I currently ...
2
votes
0answers
314 views

How to setup Ubuntu server web development environment from 0

I had been searching for a good and complete tutorial for How to setup Ubuntu server web development environment from 0 with GIT. Is there any tutorial that you can give me? Thank you
0
votes
1answer
497 views

how to host git repository via ssh on ubuntu 14.04?

I want to create git server and want to host a java project which has been written in 3 tier archituctere, it means that their might be multiple project(git repository) such as client, server, common ...
0
votes
1answer
2k views

installing git on ubuntu 12.10 [duplicate]

I am unable to install git on my ubuntu 12.10 system. I followed- sudo add-apt-repository ppa:git-core/ppa sudo apt-get update sudo apt-get install git-core sudo apt-get update gives me the error- ...
2
votes
2answers
12k views

E: Unable to locate package git

I am trying to install git, I used sudo apt-get install git command and it results: E: Unable to locate package git This question have been asked by many people but not a single answer has fixed my ...
1
vote
1answer
69 views

Can Using Git over SSH be distinguished from normal SSH traffic?

So, I set up my iptables configuration so that repeated attempts to SSH into my private server cause a blacklist. # iptables -N SSH # iptables -A INPUT -p tcp --dport ssh -m conntrack --ctstate NEW -...
2
votes
1answer
302 views

What is the most appropriate git server for Ubuntu 14.04?

There is an old gitosis install guide at the Community Wiki where one of the opening paragraphs is the following: WARNING This guide is written for Gitosis, which has been out of active ...
0
votes
1answer
58 views

White text on white background in smartgit

I updgraded to smartgit 6.5.1 by downloading the zip file. Now the repositories list is unreadeable white text on white ground. How can I change the text color?
1
vote
1answer
205 views

show limited git diff status in ls, only in git directories

This might be an odd problem, but I would like to override the behavior of ls when in a git directory. I want to extract some diff statistics from the last commit, and append it to the bottom of the ...
0
votes
1answer
134 views

Install boto without password

I am new to Ubuntu. I have a virtual box on a Windows 7 computer. I went to this page. https://github.com/boto/boto I need to install boto. The commands are $ git clone git://github.com/boto/boto....
7
votes
6answers
3k views

How do I disable gnome-keyring ssh integration?

I don't want gnome-keyring to get in the way of my git commits, partially because it locks the entire screen while asking for a password, even on KDE (though I have now switched to GNOME). While I do ...
0
votes
1answer
212 views

Git access rights

I'm trying to add second user for remote shared repository Added group git dev, second user added to this group repository initialized with: git init --bare --shared=group sudo chgrp -R ...
0
votes
1answer
461 views

git push script, only if difference

I've found some nice questions illustrating how one would write a script automating git push/pull with cron here and here, but I want to elaborate on that slightly. I only want to push/pull if there ...
1
vote
1answer
271 views

!Git clean running 100% CPU

I'm having a really strange yet annoying issue with git, for some reason it's running 100% CPU usage on one of the cores for no reason. When viewed in htop its trying to run git clean -nd . and I've ...
0
votes
1answer
818 views

OpenSSH/Git Problem under Ubuntu 14.04

I'm using Ubuntu 14.04 and am trying to clone a git repository via ssh. Unfortunately this does not work due to problems with openssh-client. In the beginning I was unable to connect to the SSH ...
0
votes
2answers
996 views

How to pull packages from a git repository without Internet connection?

I am newbie in using git. I need to pull some packages from my friend's git repository but there is no Internet connection in my computer. I need to pull them offline. Is there a way to do it?
1
vote
1answer
683 views

“git.osmocom.org: Name or service not known” while cloning osmocom.org repository

I tried to install a GNU Radio module using this comamand: git clone git://git.osmocom.org/rtl-sdr.git but I got this this error: Cloning into 'rtl-sdr'... fatal: unable to connect to git.osmocom....
9
votes
1answer
16k views

How to access a git repository using SSH?

I have the public key. I think this is needed for the SSH connection to the server where the git repo is located. Now I don't know how to get the code. Can someone please tell me the complete ...
2
votes
1answer
613 views

post-receive: No such file or directory

I'm getting an error when trying to push to a remote Amazon EC2 (Ubuntu Linux) instance. I've given all related directories and files full permissions. I'm trying to use a post-receive hook to move ...
2
votes
1answer
1k views

vim NERDTree | Auto fresh the directory pane

How can you auto refresh the directory panes automatically in vim NERDTree? I know you can press R to refresh manually but I want to have it refresh automatically. This is particularly helpful when ...
0
votes
1answer
917 views

How to have git and virtualenv aware colors in terminal?

I am watching "Building Web APIs with Flask" video on Oreilly from Miguel Grinberg. His terminal is colorful and shows different colors for virtualenv name and git branch name. I want to have the same ...
3
votes
1answer
27 views

How can update all the git repositories the next time a user log in?

I'm working on creating a virtual machine using Ubuntu that is Prebuilt LAMP Stack Development Environment for Drupal. I will love to have few projects in virtual machine however, after while they ...
1
vote
1answer
4k views

install gitk with git 1.8.3.2 [duplicate]

I seem to be unable to install gitk. Can anyone help me decipher the below: $ git --version git version 1.8.3.2 $ sudo apt-get install gitk Reading package lists... Done Building dependency tree ...
1
vote
1answer
450 views

Creating a repo with git( or any version control)

I have all my code/projects as repos in github. I use git a lot, I do have few projects which I cannot push to github at the same time, I want to keep a backup on my External Hard drive, is there any ...
0
votes
1answer
104 views

Server backup to github

Is it somehow possible to backup a whole server on github from the command line? Something like: cd / git commit username/repos -patch master I know it might not be this easy, cause it might ...
1
vote
2answers
3k views

How to install gitg 0.3.3 on Ubuntu 14.04?

I want to install gitg version 0.3.3 on Ubuntu 14.04. How can I do that?
2
votes
0answers
600 views

git-cola not working in ubuntu 14.04

I have ubuntu 14.04 installed on my laptop. I installed git-cola. Installation is smooth with apt0get install git-cola. When I open git-cola from launcher, it ask to open/clone a repository. I gave ...
0
votes
1answer
2k views

git clone results in gnutls_handshake failed: A TLS packet with unexpected length was received

I am running Ubuntu 12.04 and git 1.7.9.5. A couple days ago, git was working fine. It would appear the installation or configuration of the passenger module for apache2 has modified some necessary ...
5
votes
1answer
2k views

Upgrading to the last version of Git from the source repository or PPA

I want to upgrade git using the source repository within Ubuntu. As you note, the last stable version is 2.0.2, but I have 1.9.4. I cloned the git repository, but I'm not sure how to continue. I ...
2
votes
1answer
169 views

Ambiance theme git repository

Does the default theme for Ubuntu (Ambiance) have an official git repository? I want to modify it adding my tweaks, and it already has a git repository I choose to take it as start repository.
0
votes
2answers
237 views

Install git from source

I am attempting to install git from source to use last version of git. http://git-scm.com/book/en/Getting-Started-Installing-Git $ tar -zxf git-2.0.1.tar.gz $ cd git-2.0.1 $ make prefix=/usr/local ...
0
votes
1answer
379 views

install monodevelop-database (4.0.12+dfsg-1) from GIT repository

I cloned the Git repository git://anonscm.debian.org/pkg-cli-apps/packages/monodevelop-database.git and tried to run ./configure but it gives me this error: checking for a BSD-compatible install... /...
0
votes
1answer
3k views

Using Git under Proxy on Ubuntu

I do git clone using terminal on Ubuntu 14.04 i.e git clone git@github.com:myusername/myrepo.git. Before I did it, I set git to use proxy with command: git config --global http.proxy proxyserver:port. ...