Git is a distributed source control system.

learn more… | top users | synonyms

2
votes
1answer
2k views

Error pushing to remote with git

I have a fresh Centos 6 server stood up and I have installed git version 1.7.1 through yum. I am using the smart http method through apache for access. When I try to push to the remote server this ...
-1
votes
0answers
14 views

Gitweb 404 - No projects found on ArchLinux ARM

I have some troubles with gitweb configuration on my RPi (powered by ArchLinux ARM). As you can see in the topic title I get "404 No projects founds" error. I followed ArchLinux wiki but it didn't ...
-1
votes
0answers
14 views

Development Environment with Git + Unison [migrated]

Is anyone using Unison (http://www.cis.upenn.edu/~bcpierce/unison/) to keep development projects consistent between laptop and desktop or similar? I'm worried Unison may butcher my git repos. ...
9
votes
4answers
15k views

How to setup Gitlab with post-receive hook?

I am using Gitlab on one server and would like to push my git repository on commit of the master branch to another webserver. So when I push a new version of the website the production server gets ...
0
votes
0answers
25 views

GIT SERVER High Avalability Config [on hold]

I want to create Git code version server for my company can anyone please tell about setting up GIT in a HA config. Please anyone tell me how to create it in High availability server need details ...
1
vote
1answer
16 views

Gitlab backup file location (Omnibus installation)

I have installed Gitlab using omnibus installation package. I took a backup using below command sudo gitlab-rake gitlab:backup:create Backup was successfully created. But I want to know the ...
2
votes
2answers
1k views

Mod_pagespeed, Varnish and Apache cache issues after new code pushes

I have a rather strange issue. In my environment we are running a load balanced cluster of 8 apache servers with a master-master MySQL backend. In front of apache we have Varnish in the cache layer. ...
-6
votes
1answer
36 views

Making Git repository [on hold]

I have installed git version 2.2, but I cannot do "git stash" and 'git pull" on my directory. I am getting following error message when running the git stash and git pull fatal: Not a git repository ...
0
votes
0answers
5 views

Get static code analyzer messages only from 'git diff'? [migrated]

In our build system (with sources under git version control), I'd like to get the static code analyzer (pylint, in this case) messages for every build. And I want them incremental: in the new build ...
41
votes
11answers
14k views

GIT as a backup tool (am I a silly person?)

So I was in the shower this morning thinking about stuff, and I had an idea which may be terrible or may be brilliant I'm not sure. On a server, install git cd / git init git add . git commit -a -m ...
-1
votes
1answer
1k views

Gitlab unable to push via ssh [on hold]

I just installed gitlab server on CentOS 6, but not able to push any changes to the repo via ssh. A simple ssh works though ssh -T git@git.med-access.net Welcome to GitLab 5.2, Anonymous! But when ...
0
votes
1answer
694 views

GIT issue in AIX 6.1

I recently installed GIT 1.8.1 on my AIX 6.1 machine and am facing a few issues with it. Now if I login as root and issue git commands like git --version I get the response as shown : Code: git ...
0
votes
1answer
968 views

php fopen error (failed to open stream: Permission denied)

I have a php script on a Windows Server 2008 box (IIS 7) that is run periodically to download a remote XML file and store it on the server. This script (which previously used to run successfully), is ...
1
vote
1answer
36 views

git-http-backend and LDAP authentication, push error: requested URL returned error: 401 Authorization Required

My setup OS: debian git: v 1.7.10 apache (with suexec mode enabled) configuration with git-http-backend and LDAP authorization to git repos which works for clone operations, but not working for push ...
1
vote
3answers
1k views

Using a non-root to deploy a git repo to the web root

What is the best way to set up users and permissions for a production web server that uses git to deploy to the server? Background Running Ubuntu 12.04, I have apache serving files under /var/www as ...
-1
votes
0answers
31 views

Hiding parts of huge php project [migrated]

I have a big php project. Now I have not big developers team but we want more. So now I'm thinking about code security. Is there any possibilities to hide parts of code? For example. One team develop ...
0
votes
0answers
23 views

“Request not supported” after setting git-http-backend

I'm trying to setup git with Apache following Smart-HTTP, however after configuration when I try to access my repository, like http://localhost/git/sample.acmeair, in the error_log I'm getting: ...
0
votes
0answers
13 views

Why Git objects folder on server has 700 permission

I have git server. To make the git server to work with reviewboard, I exports the git repository directory to NFS as readonly. But reviewboard still has trouble to generic diff, and I have figured out ...
3
votes
2answers
2k views

Virtualmin & git integration

I've installed virtualmin on my VPS to manage my websites. It's working perfect and as expected nearly a year now. Recently I wanted to add some features to one of my sites, and I need git ...
3
votes
2answers
2k views

Slow git clone and fetch

I setuped gitosis on a linux server following this tutorial: http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way We are using git on our windows machines with TortoiseGit ...
0
votes
0answers
22 views

How does a kernel patch propagate into distribution updates?

I have been affected by, and helped to debug, a kernel bug. A patch has been created by the maintainer of the module, and submitted. I am interested to know how the patch propagates through to binary ...
15
votes
4answers
17k views

What firewall ports need to be open to allow access to external git repositories?

What firewall port(s) need to be open to allow access to external git repositories?
3
votes
1answer
166 views

Verifying Salt states before committing

I'm storing my salt sls files in a git repository, but I have the perennial problem that I can't verify my YAML represents a valid set of states that could be applied (I've also had difficulty ...
-3
votes
0answers
30 views

trying to do a git checkout from a php script [duplicate]

I made a small php webhook that executes git command to checkout the code from a remote repository in a detached worktree. I got this: error: cannot open .git/FETCH_HEAD: Permission denied I then ...
1
vote
1answer
1k views

Configuration of nginx for git-http-backend on debian(-based systems)

I'm having trouble to get git-http-backend working using an nginx server on my Ubuntu 13.04 machine. Tried it with Debian 7 before but with similar results. Basically I followed ...
5
votes
1answer
4k views

Git push over http (using git-http-backend) and Apache is not working

I have desperately been trying to get push for git working through the "smart-http" mode using git-http-backend. However after many hours of testing and troubleshooting, I am still left with error: ...
-1
votes
1answer
49 views

Git a Windows file system as an alternative to virtual machine snapshots

I am a software developer and I want to test several versions of my software, with different configuration files and different contents in the database (everything running on Windows). For example, I ...
4
votes
1answer
3k views

git on HTTP with gitolite and nginx

I am trying to setup a server where my git repo would be accessible with HTTP(S). I am using gitolite and nginx (and gitlab for web interface but I doubt it makes any difference). I have searched ...
1
vote
2answers
3k views

git ssh problems

I have a git repo I am trying to use this command on a remote. $ git push origin master ssh: connect to host port 22: Bad file number fatal: The remote end hung up unexpectedly. I am trying to do ...
0
votes
2answers
412 views

unable to access '/root/.config/git/attributes': Permission > denied”

In our Ubuntu Server we are able to clone as Nginx user in /usr/share/nginx/www that has www-data:www-data ownership getting a warning as ” warning: unable to access ...
0
votes
1answer
134 views

Make VirtualMin git Module SMART

I used VirtualMin's git module to setup a private git over http on one of my servers. I have other servers with git over ssh but this was my first try to setup it over http and with VirtualMin. ...
0
votes
1answer
44 views

Jenkins pulling from Bonobo Git Server

I have installed Jenkins Git plugin for SCM on Jenkins Bonobo Git Server To configure Jenkins to build from Git I type in url, which is on my local network ...
0
votes
0answers
60 views

Windows Git Linux Tools - Prevent SSH timeout in terminal

I installed Git and included the Linux tools. They rock, except for the SSH times out after five or ten minutes when I am running in the console. It just freezes the terminal until I hit a few ...
49
votes
4answers
22k views

How do I edit git's history to correct an incorrect email address/name [closed]

When I started using git I just did a git init and started calling add and commit. Now I am starting to pay attention and I can see that my commits are showing up as cowens@localmachine, rather than ...
0
votes
0answers
23 views

git: preserve group owner

I use a central HUB which does an auto deploy to a productive web server if there are changes in the main branch. Now the setup runs in file permission problems. If I do a push I want to preserve the ...
4
votes
2answers
185 views

Why did git stop working after server disabled SSLv3?

Like most others, our repository server needs to disable SSLv3 (and v2) ASAP. However, doing so seems to break our git-clients -- at least, on RHEL5 (connections from my FreeBSD desktop work fine). ...
170
votes
18answers
207k views

How do I tell Git for Windows where to find my private RSA key?

My GIT setup runs fine in Linux, but when I try to set things up under Windows (using Git for Windows and TortoiseGit), I don't know where to put my private ssh key (or, better still, how to tell ssh ...
12
votes
3answers
23k views

git pull specific revision from remote repository

We have a remote git repo that we normally deploy from using git push on our dev server then git pull on on our live servers to get the latest pushed version of the repo. But if we have committed and ...
0
votes
0answers
51 views

Debian 7.1 An attempt to commit /etc changes to git failed

I'm running Debian 7.1 edu which install also a LTSP server (fat client). When I try to install/remove any package in chrooted client installation (under /opt/ltsp/i38&) I got the error: An ...
0
votes
0answers
16 views

How to setup separate projectName/gitolite-admin.git configuration repositories with Gitolite?

I want to setup a Gitolite based installation for hosting git repositories in a small organization for a limited set of projects (100 projects at most, probably less than 30) with repositories under ...
0
votes
2answers
2k views

GitLab - Does not accept pushes via SSH [asks for SSH password], works with HTTP?

I have looked at multiple solutions for this problem, including: Gitlab unable to push via ssh Gitlab not working with SSH Keys ...
0
votes
1answer
246 views

Installing GitBlit GO as Service in Ubuntu Server 14.04

I downloaded it (version 1.6.0), unpacked it in /opt/gitblit (ubuntu server 14.04.1), configured http to 8280 and disabled https assigning 0 (I expose it by https using nginx). I created gitblit user ...
1
vote
0answers
61 views

EtcKeeper: Switching from bzr to git

I've been using etckeeper on my Digital Ocean droplet for sometime and have made numerous changes to the /etc since that time. I now realize that i've been using bzr all this time and would like to ...
17
votes
5answers
5k views

Non interactive git clone (ssh fingerprint prompt)

I want to clone a repo in a non-interactive way. When cloning, git asks to confirm host's fingerprint: The authenticity of host 'bitbucket.org (207.223.240.182)' can't be established. RSA key ...
0
votes
0answers
68 views

Why not work deploy from bitbucket git repo?

I follow the instruction http://jonathannicol.com/blog/2013/11/19/automated-git-deployments-from-bitbucket/ Server VPS, Ubuntu 14.04 Firstly it was done on test domain and it was ok. I delete ...
1
vote
0answers
32 views

Git/svn - keeping synced two repositories with different access rights

I've been advised by @PatrickQuirk to post this question here... There is just too much information online for me to understand and be able to get my own picture, so I gently ask the community to ...
6
votes
6answers
364 views

Version Controlling Foreman & Puppet

I have just setup Foreman for the first time & am not sure how to go about putting all of my configurations under version control. I know I can use Git for each module I install on my Puppet ...
0
votes
3answers
6k views

Root only has read permission for /etc/ssh/sshd_config?

I'm trying to edit my /etc/ssh/sshd_config file as per these instructions to properly set up git on my Synology NAS: http://www.wonko.de/2010/04/set-up-git-on-synology-nas.html (step 6) However, when ...
0
votes
1answer
84 views

Clone git repo via https without entering the password manually

I've got a stack in Amazon OpsWorks and within this stack I got a RailsApp Layer. The repository is only accessible via https and is protected with username and password. On my machine I can clone the ...
2
votes
3answers
2k views

Subversion cluster / replication / HA

What's a good way of making SVN highly available? We take backups of our Subversion server, but this is not enough, as svn is very important. We would like to implement some HA mechanmism for ...