Questions tagged [git]

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

Filter by
Sorted by
Tagged with
0 votes
2 answers
58 views

How do I mirror any VCS unique to Ubuntu?

I'm a student at UWyo researching source code differences. I've been cloning git repositories from distributions conforming to the following: sudo cat /var/lib/apt/lists/* | grep Vcs-Git | awk '{...
user avatar
3 votes
2 answers
142 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 ...
henny.mcil's user avatar
0 votes
1 answer
5k 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 ...
Oldenborg's user avatar
  • 103
6 votes
1 answer
19k 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 ...
Piotr Kula's user avatar
6 votes
3 answers
28k 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://[email protected]/~/git/example.com If i ...
Mario's user avatar
  • 61
0 votes
2 answers
121 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 ...
MSayanvala's user avatar
2 votes
2 answers
48 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 ...
Josh Pinto's user avatar
  • 7,919
22 votes
5 answers
23k views

"Unable to connect to Upstart" error when installing git-all

I am using 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 ...
Electronicks's user avatar
1 vote
1 answer
1k 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. ...
Taerus's user avatar
  • 303
1 vote
1 answer
815 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 ...
NickT's user avatar
  • 2,203
1 vote
1 answer
7k 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 clean&...
Wilhelm Erasmus's user avatar
0 votes
1 answer
5k 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 ...
nowiko's user avatar
  • 191
10 votes
1 answer
11k 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. ...
ArekBulski's user avatar
  • 1,181
3 votes
2 answers
2k 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.
d3pd's user avatar
  • 3,661
1 vote
1 answer
756 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 ...
user avatar
1 vote
0 answers
368 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 ...
pzlemon's user avatar
  • 11
2 votes
1 answer
6k 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 ...
Robert Heine's user avatar
26 votes
2 answers
160k 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 [email protected] as described in the guide to test ...
jona's user avatar
  • 363
1 vote
1 answer
989 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 ...
solo's user avatar
  • 11
0 votes
1 answer
1k 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 ...
erwstout's user avatar
  • 121
6 votes
1 answer
3k 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: ...
Joel B's user avatar
  • 309
1 vote
1 answer
223 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 ...
Grumbel's user avatar
  • 4,719
6 votes
1 answer
47k 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/...
user avatar
1 vote
1 answer
1k 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 ...
Yanick Rochon's user avatar
0 votes
1 answer
275 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 ...
Josh's user avatar
  • 101
2 votes
2 answers
2k 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 ...
Sah's user avatar
  • 143
2 votes
0 answers
342 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 /...
Torben Gundtofte-Bruun's user avatar
3 votes
0 answers
2k 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 ...
user avatar
0 votes
1 answer
4k 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 ...
PHPLover's user avatar
  • 1,787
2 votes
1 answer
5k 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 --...
Musa Haidari's user avatar
0 votes
1 answer
528 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 ...
user1592380's user avatar
  • 1,865
1 vote
0 answers
5k 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 /...
Andy Castille's user avatar
5 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
1k 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 ...
Sina Sh's user avatar
  • 231
60 votes
2 answers
57k 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 ...
Fernando Montoya's user avatar
0 votes
1 answer
394 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 ...
Hola's user avatar
  • 1
4 votes
2 answers
33k 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 ...
JacobTheDev's user avatar
  • 1,059
2 votes
1 answer
3k 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 ...
Andrew's user avatar
  • 121
7 votes
2 answers
13k 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 apt-...
Patoshi パトシ's user avatar
144 votes
4 answers
77k 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 ...
190n's user avatar
  • 1,579
2 votes
0 answers
866 views

How to setup Ubuntu server web development environment [closed]

Step by step instructions for setting up Ubuntu server web development environment with git.
Juan Manuel Jardim Mendes's user avatar
0 votes
1 answer
1k 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 ...
Dhiren Hamal's user avatar
0 votes
1 answer
3k 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- ...
user2715898's user avatar
27 votes
3 answers
124k 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 ...
mshahbazm's user avatar
  • 371
1 vote
1 answer
150 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 -...
acagliano's user avatar
2 votes
1 answer
408 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 ...
Luís de Sousa's user avatar
0 votes
1 answer
106 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?
rubo77's user avatar
  • 32.4k
1 vote
1 answer
703 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 ...
corvid's user avatar
  • 347
0 votes
1 answer
709 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....
user2738483's user avatar
16 votes
8 answers
20k 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 ...
andlabs's user avatar
  • 483

1
10 11
12
13 14
17