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

2
votes
2answers
159 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 ...
0
votes
2answers
94 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
741 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 ...
2
votes
1answer
237 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: ...
1
vote
1answer
272 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
22 views

Downloading code with git

I am new to git and want to download some code from GitHub, for which I have a URL: https://github.com/PointCloudLibrary/pcl/tree/master/doc/tutorials/content/sources/qt_visualizer I have installed ...
0
votes
1answer
17 views

Opensuse 11.1 package manager outdated

I'm trying to update GIT to the latest version. The package manager for opensuse 11.1 only has up to git 1.6.0.2. I'm updating using zypper: sudo zypper install git And I get the following ...
0
votes
1answer
26 views

Recommended file system for cloning AUR-mirror?

I'm beginning to use Arch Linux and wanted to explore the AUR repository. Because of this motivation, I learned two things immediately. Ext3 can support only 32000 sub-directories. (I ran into ...
0
votes
1answer
99 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
39 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
183 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 ...
4
votes
0answers
844 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 ...
3
votes
0answers
71 views

Restricting access to just CVS and Git commands

At work we have a server which hosts our CVS repository and in order to restrict shell access to this system, I have deployed rssh which has worked well for a number of years. We are now converting ...
3
votes
0answers
299 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. ...
2
votes
0answers
16 views

git report moved lines

I want to track the number of additions and deletions that exclude moved lines. So if a commit has 10 additions, 5 deletions, and 3 moved lines, then I have 7 additions, 2 deletions excluding moved ...
2
votes
0answers
45 views

Git pull in a linux environment changes the owner of the files

I am not sure if this is the proper forum to ask the question, but here it goes: Why will everytime I execute a git pull on my live server, the owner of the files be changed? I keep on manually doing ...
2
votes
0answers
20 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
14 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 ...
2
votes
0answers
181 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
99 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 ...
2
votes
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 ...
1
vote
0answers
22 views

Gbrowse not working correctly on MAC

I'm using vim and have installed Pathogen and vim-fugative, but when editing a file under source control on github.com I use the command :Gbrowse and nothing happens. I've tried most of the advice I ...
1
vote
0answers
37 views

GIT on 'mountain lion' will not execute commands

Macbookpro Mountion Lion 10.8.5 I am not new to technology or programming but relatively new to Web Development. My Unix is rusty. Issue. I cannot get GIT to execute commands. I have been ...
1
vote
0answers
63 views

Fixing git object headers

I have a git repository that is not corrupt (all object files remains, i can commit to it and so on). Recently I noticed that some older commits are broken, "error in commit": git fsck --full ...
1
vote
0answers
101 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
88 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
147 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
123 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
114 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
34 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
450 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
91 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?
0
votes
0answers
62 views

Problem with OpenSSH

I think I got an OpenSSH-problem with my Ubuntu Server 14.04.1. Let me explain my setup: For development, I use Git and Gitolite. I have 3 server: server A ( master-server for git-mirroring) ...
0
votes
0answers
68 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
35 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
407 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
643 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 ...