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

learn more… | top users | synonyms

0
votes
0answers
8 views

Give ubuntu user on EC2 instance access to public_html folder

I have an EC2 Ubuntu instance running apache with a couple of websites. Say one website is called widgets, then /home/widgets/ has user widgets and group widgets I have a git repository in ...
1
vote
2answers
35 views

Is there a way to use GIT to manage OS packages so that if i 'sudo' break something I can easily revert?

I'm very novice when it comes to OS management, so if this question is ignorant please be kind. The idea is pretty self explanatory, essentially keep a text file of packages&versions, every ...
0
votes
1answer
51 views

Sudo apt-get install git problem

Hi Im kinda new to Ubuntu. That said, I can usually run this on a clean install of ubunty 14.10 sudo apt-get update sudo apt-get install git And then git should be installed But what I get is this ...
0
votes
1answer
28 views

How to sudo git clone and safely change permission to another user

On Raspberry Pi, I log in as the default user Pi. I do a sudo git clone on a repository, because it needs to create directories. This is specific for DNU/DNX, because we cannot run sudo dnu restore ...
0
votes
3answers
42 views

fatal: does not appear to be a git repository

I set up a empty git repo on my production server with git init --bare From my local machine i added the repo as a remote: git remote add origin ssh://user@example.com/~/git/example.com If i ...
0
votes
2answers
37 views

How do you “compile” something in Ubuntu?

I'm trying to use Gfx Tablet. However, I am struggling to interpret the installation instructions given by the developer. http://rfc2822.github.io/GfxTablet/#part-1-uinput-driver His instructions ...
2
votes
2answers
27 views

Is it possible to define website variables for git?

I would like to be able to run something like: git clone mw/Math.git where mw equals: https://git.wikimedia.org/git/mediawiki/extensions, i.e., the MediaWiki extensions git repository. Instead of ...
1
vote
1answer
51 views

Problems with Git-All and 15.04

So I'm working with git and I installed the standard version. I set up the ssh keys and was able to clone one of my repositories to the correct folder. Everything was working great and then I decided ...
0
votes
0answers
22 views

Configuring smtp

When I am trying to send a patch, I am getting the following error: Send this email? ([y]es|[n]o|[q]uit|[a]ll): Unable to initialize SMTP properly. Check config and use --smtp-debug. VALUES: ...
1
vote
1answer
17 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
vote
1answer
130 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
93 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 ...
0
votes
1answer
23 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 ...
0
votes
1answer
54 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
83 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
101 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
48 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
42 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
24 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
279 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 ...
4
votes
1answer
388 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
0answers
49 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
0answers
21 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
46 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
0answers
93 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 ...
0
votes
1answer
124 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 ...
1
vote
1answer
929 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
50 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
23 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: ...
1
vote
1answer
73 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
40 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
123 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
44 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
243 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
74 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
344 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
61 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
0answers
65 views

Gitlab: CHMOD on var/www

I am trying to set up a git on my server as well as on my localhost machine My files are in /var/www/example.net (in both cases: local and server) Permissions in my localhost are: drwxr-xrwx 5 ...
1
vote
0answers
133 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
94 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
152 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 ...
3
votes
2answers
372 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
45 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
1answer
2k 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 ...
0
votes
0answers
172 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 ...
-1
votes
2answers
222 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 ...
0
votes
0answers
68 views

Git remote repository User permissions

After create my repository using gitolite I configured the following hook: #!/bin/sh GIT_WORK_TREE=/var/www/html/learnsymfony git checkout -f To make a checkout after the push. The problem is that ...
6
votes
1answer
790 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 ...
1
vote
0answers
104 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
0answers
70 views

copying from git gives a error

I'm trying to, on Ubuntu arm, download a different kernel. But while doing so I get a error index-pack died of signal 96598. Anybody know that means, here is the output log: + Detected build host ...