Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
1answer
123 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. ...
3
votes
1answer
151 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 ...
0
votes
1answer
16 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
41 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 ...
0
votes
0answers
214 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 ...
-1
votes
1answer
34 views

Is it possible to edit files in a Git repository through a browser? [on hold]

In our company, there are a few people who need to edit files in the git repository. As they are not tech people, they need bullet-proof solutions for that. So somehow they need to get access to the ...
49
votes
4answers
21k 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
14 views

Is it possible to `git push` a Ghost blog on an Azure Website without resetting everything? [closed]

I'm trying out Ghost (the blogging platform), and every time I change something in the code and push to the site, it resets all the data. I have to setup the blog again, including the users and other ...
0
votes
0answers
10 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 ...
0
votes
0answers
23 views

when i uninstall gitlab. how to remove git user [closed]

I had installed the gitlab and uninstalled it. But when I remove the user 'git', it says user 'git' is currently used by a process. When I kill the process, another one will be created. So, how to ...
0
votes
1answer
1k views

Gitlab unable to push via ssh

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 ...
3
votes
2answers
107 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). ...
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. ...
164
votes
18answers
198k 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
22k 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 ...
-1
votes
1answer
20 views

Setup git for remote access [on hold]

I executed the following commands on my Ubuntu 14.04 VPS: git config --global user.email "user@host.name" git config --global user.name "username" git init --bare /home/repository Then I ...
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 ...
0
votes
0answers
45 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
14 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
1k 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
917 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 ...
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 ...
0
votes
1answer
219 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 ...
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 ...
1
vote
0answers
53 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 ...
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: ...
17
votes
5answers
4k 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
32 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
1answer
965 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 ...
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 ...
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
0answers
23 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
317 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
71 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 ...
5
votes
1answer
209 views

Managing puppet modules with git

I have a puppet/foreman server running on Debian 7 for managing my systems. I use the community version 3.7 of puppet and foreman 1.6.0. I use directory environments. At the moment I use a rather ...
0
votes
1answer
43 views

WinSSHD, GIT over SSH Team City Fetch Url - Does not appear to be a git repo

We used to work with windows network paths to connect to git, but starting to use team city we want to use SSH. I'm having trouble testing a connection to a git repo on a server here at 192.168.X.XXX ...
0
votes
3answers
7k views

Gitlab not working with SSH Keys

I am having issues with Gitlab. I used the following guide to install and configure Gitlab https://github.com/gitlabhq/gitlab-recipes/blob/master/install/centos/README.md. The installation seemed to ...
0
votes
2answers
333 views

State of the art deploying Rails applications with git

I'm looking to group together the information on the current best practices for deploying a Rails application on a server I run (rather than, say, Heroku). The application is developed by multiple ...
0
votes
1answer
71 views

SSH works with Putty and ubuntu but not with Git Bash

I have set up an SSH server on a Windows Server 2012 r2 with cygwin. I can successfully connect to the server with ssh using Putty on my windows pc or using Ubuntu. However, when I try to connect to ...
0
votes
0answers
38 views

What permission should my files/folders in Laravel framework have for git deploy?

I have CentOS 7 VPS server, where I want have my own website. I have for example website in /var/www/shop. This website use Laravel framework , the apache configuration for this is <VirtualHost ...
2
votes
1answer
1k views

How do I change permissions and ownership after git-pull, to match folder?

The company I work for is using Git for deployment and because of this it overwrites specific permissions and ownerships. What is the best way to make sure that the folder ownerships and permissions ...
0
votes
1answer
29 views

openshift git not working

I have uploaded code to my openshift JBoss server before but when I upload some code today there are no changes when I open the page in the browser. When I use git I use these commands: git add . ...
0
votes
1answer
30 views

Git on Amazon Server

I have git running on an Amazon server and up til now I have been the only one to use the server. I use my Amazon ssh key to connect and am then connected as root on the server without the need for ...
0
votes
0answers
34 views

Import existing git repositories into Gitorious

I am trying to find out how to import existing git repositories into Gitorious CE. I followed the instructions from http://getgitorious.com/install-gitorious to install the server on a CentOS 6.5 box. ...
0
votes
1answer
30 views

How to git add list of files from git diff

I accidentally added a bunch of cache files into the repo. I've now removed them and now want to commit the change to the repo. So I tried to do the following, but git doesn't seem to like it: git ...
0
votes
1answer
77 views

Using sudo in a Git hook to set permissions after deploy

I run a few sites on Ubuntu and I'm setting up a new deploy worflow as follows (the example uses the staging environment): On my dev machine, I do git push staging which pushes to a bare repository ...
1
vote
0answers
16 views

Gitlab userPrincipalName without Domain

I've to use the userPrincipalName instead of the default sAMAccountName in all applications which are integrated to AD because we've login-names > 20 characters which isn't supported by ...
6
votes
2answers
12k views

What “access rights” could be blocking access to a gitlab repository?

I'm trying to setup gitlab (6.5.1) on a fresh clean server. Everything appears to work, but git is unable to push to any project. Following the commands from the newly created project page and pushing ...