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

learn more… | top users | synonyms

0
votes
2answers
3k views

fatal: could not create work tree dir 'metasploit-framework'.: Permission denied

I am following this guide. I am doing this: cd /opt git clone https://github.com/rapid7/metasploit-framework.git cd metasploit-framework When I am doing : git clone ...
0
votes
0answers
10 views

Configuring smtp

When I am trying to send a patch, I am getting the following error: Unable to initialize SMTP properly. Check config and use --smtp-debug. VALUES: server=localhost encryption= ...
0
votes
0answers
20 views

help with runit and git-daemon-run

I'm getting the following when I try to install runit and git-daemon-run. (synaptic:30912): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed Selecting previously unselected ...
1
vote
1answer
12 views

Event.d not there

Using ubuntu server 14.04.2 I'm trying to get the git daemon on my server it tells me to create an upstart script at /etc/event.d/local-git-daemon. However it seems there is no event.d in /etc. ...
-1
votes
0answers
12 views

How to set a central Github Repository [on hold]

I am a system administrator. I have to setup a central git repository for the organisation. In which 10-15 member can add and commit the code from remote (via ssh in the same network). I also want ...
1
vote
1answer
89 views

How to build Kernel version 4.0.4 using Git?

I should like to build a 4.0 kernel by cloning a repository as described in this web page which quotes the text : git clone git://kernel.ubuntu.com/ubuntu/ubuntu-.git I can't find an appropriate ...
1
vote
1answer
34 views

Automatically enter a pw for a bit bucket account?

I have a git repo on an ubuntu 12.04 machine synced with a remote bit bucket repo. When I do a git pull I have to always provide a password. Is there a way to store that PW so that I don't have to ...
19
votes
2answers
4k views

Git on Launchpad

I develop most of my code in Git repos, now that I've become slightly more active on Launchpad I've started picking up Bazaar which has two "small" difference from Git's workflow that ride against how ...
1
vote
1answer
36 views

What are cflags? [closed]

I have some experience with Gentoo, so I know the compiler meaning of CFLAGS, but when I try to configure https://github.com/OpenSC/pam_pkcs11 : # ./bootstrap&&./configure&&make ...
8
votes
4answers
2k views

How to alias 'git' to 'g' so that bash-completion rules are preserved?

If I do this: alias g='git' I loose all completion rules (i.e. branches and remotes are no longer being automatically completed when I hit TAB after typing, for example g push o).
1
vote
1answer
3k 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 ...
13
votes
5answers
12k 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 ...
0
votes
1answer
22 views

install application using output of antoher application [closed]

I would like to use output of command: foo@bar:~/baz$ git remote add origin git@bitbucket.org:foo/bar.git The program 'git' is currently not installed. You can install it by typing: sudo apt-get ...
4
votes
1answer
191 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
35 views

Add existing ssh key for git

I am and my friend working on the same project, he has ssh permission for repo, he gave me his ssh key and I want to import it to my id_rsa.pub, but after I get Permission denied error when want to ...
1
vote
2answers
40 views

Getting commit sizes in Git?

Is there a way to find out how much space was used by each commit? If I push after each commit, I will see how much data is sent. This is one way of estimating it. But there must be a better way. ...
2
votes
2answers
75 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
41 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
1answer
42 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
88 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 ...
12
votes
1answer
21k views

“error: gnutls_handshake() failed” when connecting to https servers

When I try to connect to any HTTPS server with git, it gives the following error: error: gnutls_handshake() failed: A TLS packet with unexpected length was received. while accessing ... fatal: HTTP ...
1
vote
0answers
33 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 ...
0
votes
0answers
23 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
149 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 ...
2
votes
3answers
472 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
0answers
34 views

apt-get error for git, but not other packages

I just set up a fresh Ubuntu 12.04.5 server amd64 machine on VirtualBox 4.2 (I was having install issues on OSX 10.10 using 4.3) and I'm able to do apt-get install curl but when I run apt-get install ...
0
votes
1answer
131 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 ...
5
votes
1answer
6k views

Intellij unable to fetch from git

I've cloned an existing git repository. Git is working fine when I pull using command line. However, when I try doing the same from Intellij, it says Fetch failed. Fatal : Could not read from remote ...
0
votes
0answers
19 views

Get git branch information from refspec

I have a git project with two branches, master and stable. I am writing an API for company's CI infrastructure. In one API function, user needs to give both refspec and branch. I dont want to bother ...
0
votes
0answers
28 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
52 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 ...
0
votes
0answers
64 views

Error installing GIT on Ubuntu 14.04

I need to install git on ubuntu 14.04 but I am getting an error after sudo apt-get install git: Reading package lists... Done Building dependency tree Reading state information... Done The ...
8
votes
1answer
6k views

Setting up gitweb/apache2

I have recently began storing code, that I write on a local server I have at home. I was hoping to start a gitweb instance at home so I can see commits and track progress with my other team mates. I ...
3
votes
2answers
3k views

How can I use a git client with a GUI on a bitbucket repo which I already worked on?

I have a bitbucket account and opened a git repo there. I worked with the command line and made a few simple test commits for a few simple text files. It's actually quite simple, if I just do the, um, ...
0
votes
1answer
611 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: ...
0
votes
1answer
16 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: ...
2
votes
1answer
5k views

I have a global .gitignore but files aren't being ignored, why?

I have a .gitignore_global in my home directory durrantm.../durrantm$ pwd /home/durrantm durrantm.../durrantm$ ls .git* .gitconfig .gitignore_global The .gitignore_global has: ...
1
vote
1answer
56 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
31 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 ...
0
votes
2answers
95 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 ...
0
votes
0answers
1k 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 ...
1
vote
0answers
182 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 ...
2
votes
0answers
37 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 ...
3
votes
3answers
6k 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
1answer
55 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 ...
5
votes
2answers
6k views

How to start git-gui?

I've installed git-gui tool via sudo apt-get install git-gui. But how do I start it? Trying with search or git-gui command did not find and UI tool for Git.
0
votes
1answer
49 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 ...
0
votes
1answer
233 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 ...
4
votes
1answer
522 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 ...
12
votes
1answer
10k 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. ...