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

learn more… | top users | synonyms

2
votes
2answers
367 views

How should I install Git on Ubuntu Touch?

I've got a nice little BQ Aquaris E4.5 Ubuntu Edition here and I'm trying it out. Is there a sensible way to install Git on it? It doesn't appear to be available via the default repositories.
0
votes
1answer
205 views

What are the submodule and checkout commands of git for? [closed]

I hope my question is not out off topic. I am trying to install OpenBR on my laptop (Ubuntu 14.04). Following the instructions, I found these 3 command lines: git checkout <tag> git submodule ...
1
vote
0answers
107 views

Auto deployment from bare Git repo to Apache

I am configuring a Ubuntu Server for our project now, Gitolite and Apache are working now without any problem and they are on same server, What I want right now is deploy Git repository to Apache ...
1
vote
0answers
33 views

how i can install “Source Tree” git client on Ubuntu 14.04 [duplicate]

I am frontend developer, and I decided to use Ubuntu instead Windows. I found all the necessary alternative, except GUI client for git. I used Source Tree for Windows, is there a way to run it on ...
0
votes
1answer
1k views

How to suppress pam_unix(sshd:session): session closed for user

I have a Ubuntu (14.x) host serving as a git repository box (via GitLab CE). Around 50 users are using shared user (in this case "gitlab") to connect to the box to sync their repositories. This method ...
5
votes
2answers
8k views

ssh: connect to host github.com port 22: Connection refused

So I followed the guide on how to add a SSH key to GitHub, and added a new SSH key with a passphrase to GitHub and the SSH agent. Now, if I run ssh -T git@github.com as described in the guide to test ...
0
votes
1answer
183 views

problem while updating backbox using sudo apt-get update

[*] starting at 19:46:20 [19:46:20] [INFO] updating sqlmap to the latest development version from the GitHub repository [19:46:20] [INFO] update in progress .. [19:46:22] [ERROR] update could not be ...
0
votes
1answer
488 views

Starting forked-daapd service from GIT Install

So I'm pretty new to Ubuntu/Linux so I'm sure that I'm missing something obvious. I installed/configured forked-dapd from the GIT Source https://github.com/ejurgensen/forked-daapd and followed the ...
5
votes
1answer
2k views

Installing GitLab on 15.04 gives Upstart Error [closed]

I have been trying to install Gitlab on a instance of Ubuntu 15.04. Unfortunately when I run: sudo gitlab-ctl reconfigure I get the error message: STDERR: initctl: Unable to connect to Upstart: ...
1
vote
1answer
88 views

Can somebody explain this changing `du` output?

Just tripped across a weird case of du. Putting arguments one way gives: $ du -s htdocs/.git/ feuerkraft/.git/ media/.git/ 40564 htdocs/.git/ 40740 feuerkraft/.git/ 204 media/.git/ Putting them ...
0
votes
1answer
129 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
302 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
108 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
591 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
103 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
374 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
172 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
292 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
492 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 ...
13
votes
2answers
7k 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
12k 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 ...
32
votes
1answer
15k 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
329 views

How to setup Ubuntu server web development environment [closed]

Step by step instructions for setting up Ubuntu server web development environment with git.
0
votes
1answer
509 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
13k 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
71 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
310 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
216 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
141 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
219 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
474 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
280 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
831 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
1k 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
691 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
17k 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
624 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
944 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
28 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 ...