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

learn more… | top users | synonyms

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
11k 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
66 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
288 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
55 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
190 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
119 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 ...
4
votes
3answers
2k 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
202 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
416 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
245 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
794 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
858 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
635 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 ...
5
votes
1answer
12k 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
571 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
975 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
852 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
26 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 ...
0
votes
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
429 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
95 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
557 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 ...
4
votes
1answer
1k 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
153 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
209 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
369 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. ...
1
vote
3answers
1k views

Git prompt won't colorize

I want my git prompt in bash to colorize (green for clean repos, red for dirty repos). Right now, it shows plain white text no matter the git state of my cwd/repo. ...
1
vote
2answers
1k views

Which Git GUI can show list of files inside stash?

It was very easy in Sourcetree but this tool is not available on Linux
1
vote
1answer
170 views

How to import an arbitrary GIT branch into a Bazaar repo on Launchpad?

I would like to import an arbitrary GIT branch (NOT master) into a Bazaar repo on Launchpad, but when requesting a new code import Launchpad by default imports the HEAD of the master branch. So how ...
0
votes
1answer
394 views

Which Ubuntu (git) linux kernel tree matches my installed kernel?

Answering a recent question, and before that, trying to see if a patch which is fundamental for my machine had been included in a kernel release, I have found the following problem: How can I match ...
0
votes
1answer
56 views

What is GIT (program that Linus created) [closed]

This question might not be appropriate for this exact forum however I am sure that everyone here knows. I looked at multiple definitions and can't figure out exactly what it is. If anyone could ...
4
votes
1answer
772 views

Why does the terminal not hold my root password for sudo? [duplicate]

I stopped using Ubuntu for a while (since 12.10) and recently came back to it. From what I remember, it used to only ask for the root password once for a terminal session (for sudo commands). Now it ...
0
votes
1answer
153 views

(12.04 vm/server) Dist-upgrade to 3.2.0-63 wants to remove git (1.9.2) and git-core - is that the correct behavior?

was wondering if anyone knows dist-upgrade wants to remove git. FWIW, this is a pretty simple box, mainly used for web dev. $ uname -a Linux precise64 3.2.0-61-generic #93-Ubuntu SMP Fri May 2 ...
0
votes
1answer
223 views

Can not clone git repository setup using filesystem permissions but can ssh

I've setup a local git server on Ubuntu 12.04. The repos can be cloned locally on the server, but I can not clone the repo from another server. I can ssh to the server with the same config. ...
1
vote
1answer
152 views

Parse git log by modified files

I have been told to make git messages for each modified file all one line so I can use grep to find all changes to that file. For instance: $git commit -a modified: path/to/file.cpp/.h - 1) ...
1
vote
1answer
1k views

WARNING: terminal is not fully functional despite xterm-color

I have two Ubuntu VMs. On one of them, whenever I run git diff or git log, I see: WARNING: terminal is not fully functional I then get a horrible, monocolour diff (yech). How do I fix this? I ...
2
votes
0answers
2k views

How to install git server with apache authentication on Ubuntu 14

I trying to install git server on Ubuntu 14 following these steps: www.jmuras.com I made a little change when creating git.conf and symbolic link cause goes on different folders for Ubuntu 14, i did ...
1
vote
1answer
438 views

Aptana crashes on Git Commit in 14.04

Ever since I upgraded my machine to 14.04 - I cannot commit via Aptana's "Team" menu. I was having other, miscellaneous and unrelated problems, so I did a fresh install, and used Oracle Java ...
2
votes
1answer
460 views

Can I use Git to backup all my server changes? [closed]

I want to use Git to monitor all the changes I make to my Ubuntu server. If I rollback changes, can I run into trouble when I rollback changes?
0
votes
1answer
72 views

Is there any way to give a tag or nickname to a process so it can be killed invoking kill <tag>?

I have one Ubuntu 12.04 vps and I use git to upload code for a web server, when I push by git to vps I have to login via ssh to vps and look for the process by: ps -A | grep node I kill it once I ...
1
vote
3answers
1k views

Jenkins Git Ubuntu Server

I am trying to install a completely working Jenkins on my old PC with Ubuntu Server 12.04. I think my installation of Ubuntu Server and Jenkins was succesfull. I can access the Jenkins page by ...
10
votes
3answers
21k views

How to clone git repository only some directories?

For example, I want to download PCL 3d_rec_framework. This is the git repository of PCL: https://github.com/PointCloudLibrary/pcl.git How to download this directory? ...
0
votes
2answers
1k views

Why does root take ownership of my files?

I'm new to Linux and trying to install a library from Github. I cloned https://github.com/AngryLawyer/rust-sdl2 in /home/username/documents/ and ran make as per instructions. Now the entire rust-sdl2 ...
2
votes
1answer
403 views

Deleting files by way of the terminal where files have a certain keyword

UPDATE Status of the process for the command rm -rf ~/.local/share/Trash/files/ has been set to Very High. Command was initiated at 0745 today and is still running. CPU Time is current 53 seconds at ...
0
votes
1answer
272 views

Trying to get Vundle to work with VIM

I am following this tutorial, which is actually the Vundle's homepage in github and in step 3 it's telling me to put some code into .vimrc: "Put this at the top of your .vimrc to use Vundle. Remove ...
1
vote
2answers
4k views

git on Ubuntu get: gnutls_handshake() warning: The server name sent was not recognized

When I run: 'git clone ...' from Linux, I successfully clone it. but when I run the same command form Ubuntu I get the following error message: fatal: unable to access 'https://gitserver...': ...