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

learn more… | top users | synonyms

3
votes
1answer
610 views

How to make etckeeper use the right value for git author & email with apt-get

I'm using git with etckeeper. When I use sudo git to commit changes in /etc/, GIT_AUTHOR_NAME & GIT_AUTHOR_EMAIL from my env are used (as intended). When I use sudo apt-get and changes are ...
2
votes
1answer
357 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 ...
1
vote
1answer
113 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 ...
1
vote
1answer
52 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 ...
1
vote
1answer
142 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 ...
1
vote
1answer
42 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 ...
1
vote
1answer
1k views

setup Gitlab CI

I have setup Gitlab in ubuntu server, it's working fine. I access Gitlab by url http://123.456.789.100 and Gitlab login details username:admin@local.host password:123456 Then I wanted to set ...
1
vote
1answer
302 views

running git status resets permissions on index file

Trying to sort out if this is a git bug or something with Ubuntu. Basically about half the time an interaction with the git index file results in the permissions on that file being changed to the ...
1
vote
1answer
321 views

Shell script now working on post/get request

I have a simple script in php to fetch files from my github repository <?php echo shell_exec('git pull'); ?> When I ssh into my server and run this script like this: php github.php I see ...
2
votes
0answers
26 views

Right permissions to .git directory on server

I am working on deployment of application on ubuntu trusty server. I am using git ssh and web-hooks(deploy-keys) to deploy the code on server after its pushed to the master from local ...
2
votes
0answers
35 views

repo sync duration and how to resume sync?

I am on Ubuntu 14.0.4 and I am trying to build a CWM recovery for Celkon Q 500 (android 4.4.2, Broadcom processor). I have set up build environment and currently working on syncing repo. I have ...
2
votes
0answers
56 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 ...
2
votes
0answers
139 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
2
votes
0answers
1k 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
0answers
58 views

Why is my shell slow after a while when I use git aware prompt and run git commands?

I am using git-aware-prompt in my .bash_profile on Ubuntu 15.4 like this: export GITAWAREPROMPT=~/.bash/git-aware-prompt source $GITAWAREPROMPT/main.sh When I am in one of my main repository ...
1
vote
0answers
71 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
365 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 ...
1
vote
0answers
237 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
127 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 ...
1
vote
0answers
332 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 ...
1
vote
0answers
84 views

Git strange behaviour

I recently upgraded my ubuntu local server to 14.04. I don't know if it's related with upgrade or not, but things is there was no such problem before. The problem is, Googled this problem, and ...
1
vote
0answers
540 views

Sharing git repo on NTFS partition between Linux/Windows dualboot

I've posted this question already stackoverflow but got no answer: click Since I'm having this problem on Ubuntu I repost my question here. I hope this is not forbidden. I'm developing an (Qt) ...
1
vote
0answers
59 views

Make CronTab not asking for id_rsa keyword when running in terminal

I like to do some git pull inside a script and see see output of it. So I made up this cronjob to test: DISPLAY=:0 * * * * * mike /usr/bin/gnome-terminal -x zsh -c "/var/www/up.sh; zsh" ...
1
vote
0answers
80 views

Why can not use git commit -m?

I tried to commit change and add comment: $ git commit -am "update Calculator clear and reset" --amend commit failed: (use 'git commit' or 'git commit -a' to commit changes) (can not ...
1
vote
0answers
514 views

Problem Installing git kubuntu

I have installed both git and git-core using sudo apt-get install git git-core still when i try to run some git command on terminal, I get the following error message: The program 'git' is ...
0
votes
0answers
18 views

Update a kernel git tree checkout of an old release to current release, instead of full download?

I have an old checkout of git://kernel.ubuntu.com/ubuntu/ubuntu-trusty.git. I want to have a checkout of the vivid.git tree instead. Do the trees have a common ancestor (in the git sense of an ...
0
votes
0answers
32 views

Migrate Gitlab users from older gitlab version to newer?

I have a new ubuntu server 14.04 with gitlab 7.2 installed. The repos I copy as bare repos from my old server 12.04 with gitlab 6.x and do a rake import to make them work in the new version. But what ...
0
votes
0answers
10 views

Files in soft linked directory seems to lose executable flag

I can't seem to track down what's happening here, but every few days or so, all the files in a particular folder seem to have mysteriously lost their executable flag. Here's the set-up in question: I ...
0
votes
0answers
51 views

Possible to use Git Extensions in Ubuntu?

I have Ubuntu 14.04LTS 64bit. I installed GitExtensions by first installing Mono sudo apt-get install mono-complete and then downloading and unzipping both GitExtensions_2.48.05 (the latest at ...
0
votes
0answers
24 views

gitg: Exit status of a child process was requested but ECHILD was received by waitpid()

When running gitg from the command line, I get the following warning message: (gitg:5414): GLib-WARNING **: GChildWatchSource: Exit status of a child process was requested but ECHILD was received ...
0
votes
0answers
11 views

overview of all git repositories on computer

I am using git for software development. I manage it using the terminal or git gui and I am happy with that. But I have about 6 repositories, and sometimes I forget to push some of them. That is ...
0
votes
0answers
41 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 ...
0
votes
0answers
46 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: ...
0
votes
0answers
81 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
25 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
69 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
150 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
0answers
88 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 ...
0
votes
0answers
81 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 ...
0
votes
0answers
78 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 ...
0
votes
0answers
185 views

ssh-agent doesn't store passphrase between remote logins

I am trying to get my git repositories on my office computer to connect to my Bitbucket account via ssh. I've generated the key and uploaded the public key. I also did the following: eval $(ssh-agent ...
0
votes
0answers
21 views

how to make a deb package of two github projects in one?

I have to make a deb package of a github project - sandhi(http://github.com/manojgudi/sandhi.git) using checkinstall but the problem is that sandhi is dependent on sciscipy ( ...
0
votes
0answers
40 views

git-email installation failure

Folks, Details are given below: Ubuntu version: 12.04 Git version: 1.8.5.2 Git-email installation command: sudo apt-get install git-email (LNX.LC.1.0)$sudo apt-get install git-email Enter password ...
0
votes
0answers
23 views

using git from pre-configure stage in debian/rules in Launchpad PPA

I'm preparing a new ppa for a source package I'd like to "follow" a git repo. I thought to be clever and avoid having to recreate the X.orig.tar bundle with a different name each time by doing a git ...
0
votes
0answers
148 views

Setting up Git on Ubuntu server 12.04 for use with Xcode

This is an ubuntu question. However, it is also related with Xcode and at this point, I am hoping that someone using git and xcode will be willing to help me. I would like to set up a GIT server, on ...
0
votes
0answers
205 views

I cannot run a .sh file

Here is the situation: I try to run the file smartgithg.sh I downloaded the file from this website. When I had the previous version it was running ok! If I double click the file it does not do ...
0
votes
0answers
104 views

Installing Git on Ubuntu, packet not found

I can't connect to my WLAN (Broadcom e4313). I searched online for a Solution and found a brmcsmac package which I should install with git. Now I wanted to install git with: sudo apt-get install git ...
0
votes
0answers
501 views

GIT Error Cloning new repos fails with error :fatal: The remote end hung up unexpectedly error: RPC failed; result=22, HTTP code = 500

I am trying to clone a SMALL repos using sourcetree or any other git client over HTTP but keep receiving an fatal error: fatal: The remote end hung up unexpectedly error: RPC failed; result=22, HTTP ...
0
votes
0answers
117 views

Error in smartGit software after apt-upgrade

Im using smartGit, before it works perfectly, but after an apt-get update then apt-get upgrade it won't open anymore! I get this error message: The crashed program seems to use third-party or ...
0
votes
0answers
64 views

Cloning xv6 repository using git under proxy

I have to clone xv6 repository using git. I am executing following command: git clone git://pdos.csail.mit.edu/xv6/xv6.git I have configured git for http/https but how do I configure it for git ...