Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

learn more… | top users | synonyms

0
votes
2answers
18 views

Ignore files when building debian package

When I build myproject with the command: dpkg-deb -z8 -Zgzip --build myproject It packs all files inside the package. Is there a way to ignore some folders from being packed inside the deb-file? ...
0
votes
2answers
1k views

Git pull error libcurl.so.3 not found

I have a php script to git pull from my github repository set up in my webservice hook urls like so: <?php echo shell_exec('~/git/usr/bin/git pull 2>&1'); ?> When I open this script ...
4
votes
1answer
412 views

How to create a git repo using Nginx?

I've a CentOS 5 server at domain.fr. I am trying to set a subdomain so that I can use it with git : git.domain.fr My repositories are in /home/git (example /home/git/repos.git) I've installed ...
4
votes
1answer
1k views

Git-SVN Not Allowing Me to Authenticate

Git 1.7.9.1 on Arch Linux: git svn init -s https://app.svn.beanstalk.com/repo Initialized empty Git repository in /path/to/repo/.git/ Authentication realm: ...
2
votes
1answer
115 views

allow user access via ssh to /var/www/

Context: I am creating a gitolite3 hook for a specific repo, which contains some logic and css foo of my website. so what essentailly happens is Content under /var/www/nginx/ looks like: ...
2
votes
1answer
142 views

Getting diff (or git diff) to show inserted hunks properly

Let's say I have two files. The first one has the contents: line 1 foo line 2 line 1 bar line 2 And the second one has a new section inserted in the middle, so it looks like this: line 1 foo ...
1
vote
1answer
183 views

Strange symbols instead of normal icons and sidekiq issue in GitLab

After setting the relative url in gitlab: # Note that three settings need to be changed for this to work. # 1) In your application.rb file: config.relative_url_root = "/gitlab" # 2) In your ...
0
votes
1answer
43 views

Git / Jenkins permission problem

OS: Ubuntu server 10.04 LTS I have a strange issue going on with permissions and can't seem to track down what is causing it. The setup is as follows: Git Repository folders (and files in them) are ...
0
votes
1answer
28 views

How to disable anti-aliasing in git-gui and gitk

After an upgrade to Tcl/Tk 8.5, git-gui and gitk are using anti-aliased fonts which look ugly on my display. I can select different fonts in the preferences dialog, but the fonts I was using before ...
0
votes
1answer
110 views

what starts runsv on a Debian system using init and how?

A bit of background: I installed git-daemon-run on a Debian system, and now git-daemon starts at boot automatically, even though there is no init script for it in /etc/init.d. I did some digging and ...
8
votes
0answers
54 views

How did `git pull` eat my homework?

I feel like a kid in the principal's office explaining that the dog ate my homework the night before it was due, but I'm staring some crazy data loss bug in the face and I can't figure out how it ...
4
votes
0answers
74 views

Using git to manage /etc?

I am thinking on a system, where /etc were tracked on a remote git repository. I am thinking on a git workflow, where every host machine where a different branch. Every previous versions on every ...
3
votes
0answers
24 views

Kernel bisect: when a patch is failing for a reason other than original bisect purpose, what do you do?

Let's say you're trying to find the cause of a bug between 3.11.0 and 3.12.0. The bug is really difficult to catch, because it may or may not manifest itself over several days of regular workload ...
3
votes
0answers
98 views

git completion with zsh: filenames with spaces aren't being escaped properly

Git completion: I'm having difficulty with git's filename autocompletions on my system. I'm using zsh (5.0.5) with git (1.9.3) on OS X (10.9.3). Both zsh and git have been installed via homebrew. ...
3
votes
0answers
527 views

git-upload-pack hangs indefinitely

I have the following call structure: Jenkins runs fab -Huser@host set_repository_commit_hash:123abc. set_repository_commit_hash runs git fetch with pty = False. The child process ssh git@github.com ...
2
votes
0answers
15 views

Git and Puppet Master Lifecycle

I'm looking to setup a Puppet Master which hosts its configuration in a Git repository. I assume that I'd host my Puppet Configuration in a Git repository centrally organized on a Git hosting ...
2
votes
0answers
165 views

SSH login from external authentication

Here is what I try to accomplish: I have a server with a git repository. I use ISPConfig as control panel for our websites and I want to integrate the ISPConfig API for email authentication as second ...
2
votes
0answers
69 views

Git completions for aliases only available after running `git reflog`

I have a few aliases that I want to autocomplete for git, e.g., the following alias gco="git checkout" When I was attempting to add completions for this alias, I looked around in my path and saw ...
1
vote
0answers
38 views

Cloning ChromiumOS source code

I try to compile ChromiumOS, following the documentation. I am in the Get source code section. I get the following error: ionicabizau@desktop:~/chromiumos$ repo init -u ...
1
vote
0answers
37 views

SSH Agent Forwarding on server

I'm struggling with the concept of SSH Agent Forwarding. This is what I've done so far: Create default identity local (ssh-keygen) Install the public key on bitbucket Now I want to connect to a ...
1
vote
0answers
52 views

sudo -u git clone

I'm on Ubuntu server 14.04. I am using apache web server which runs as the www-data. I need to do git clone from a script (a web hook). This script will run with www-data user privilages. Running ...
1
vote
0answers
68 views

Can't delete 777 file with permissions on parent directory

As my VCS I use git version 1.7.10.4 . However, when trying to perform a pull, I got the following message: error: unable to unlink old 'somedir/config.php' (Permission denied) So what I did is: ...
1
vote
0answers
9 views

Synchronize KDE4 Hotkeys

how can I synchronize my personally defined KDE4 Hotkeys between different computers? I would like to check in a file in git, as I do it with .bashrc and other configuration files. I found ...
1
vote
0answers
63 views

ssh-agent on CentOS 6.5 keeps “disabling” itself

I recently installed git on my CentOS 6.5 system. During the process I setup a key/pair for GitHub so I don't have to enter a password for every git process. I did this by adding the rsa file to ...
1
vote
0answers
80 views

git push in gnome-term crashes my window manager

In terminal in awesome wm when i git push awesome wm freezes. so i move over to tty2 and log in. top shows awesome at %100 cpu. ps aux | grep [g]it output git-remote-https origin ...
1
vote
0answers
30 views

Patching the kernel source through git

I'm trying to understand how the patching of the kernel source works. I found the patch that I would like to try an apply on the following page. I found no .patch files that I can use to apply the ...
1
vote
0answers
366 views

git deploy using sudo nopasswd

I'm trying to write simple post-recieve script, which would switch to webserver user and pull git repository. To do so, I added git user to sudoers (I've added this to very last line): git ALL = ...
1
vote
0answers
89 views

How to install master branch of freeradius on Centos

Could someone take me through the steps to install the master branch of freeradius on a fresh Centos 6 installation?
1
vote
0answers
2k views

Git hangs indefinitely when trying to push --all to GitHub

When I try and push --all to GitHub, the Git transfer starts out fast, slows down, and eventually stops. It doesn't fail, it just slows to a halt. What's going on? This is really frustrating, I'd ...
0
votes
0answers
44 views

Fetching all Git repositories in the background

I'm thinking about setting up a cronjob for fetching all my repositories every once in a while, to have the current status ready in case I'm offline. Something like the following (wrapped for better ...
0
votes
0answers
27 views

safely override oh-my-zsh configurations

I made some changes to my oh-my-zsh configurations, namely I changed an alias in /lib/aliases.zsh and commented out a function in a plugin that I overrode in a script. I'm wondering if there is a way ...
0
votes
0answers
332 views

Permission Denied (PublicKey,keyboard-interactive) linux raspberry pi

I know there are a ton of questions on this. I have read almost all of them. I have also googled this problem to no avail I attempted to git clone git@git.assembla.com:myhubname.git and I get ...
0
votes
0answers
1k views

'Git clone' times out with 443 error message

git clone -v https://github.com/me/myproj Cloning into 'myproj'... <minutes pass> error: Failed connect to github.com:443; Operation now in progress while accessing ...
0
votes
0answers
597 views

gitweb.cgi: “Premature end of script headers: gitweb.cgi”

I'm running LAMP on Arch and now want the gitweb going on apache. Followed the instructions as in https://wiki.archlinux.org/index.php/Gitweb but on the gitweb directory (here ...