Git is a distributed source control system.

learn more… | top users | synonyms

5
votes
1answer
155 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
17 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
1answer
22 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
18 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 ...
0
votes
1answer
17 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
57 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
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
26 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
23 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
47 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 ...
0
votes
0answers
7 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 ...
0
votes
1answer
20 views

Azure Website deploy from git (bit bucket) - Bad file number

I am having difficulties deploying an Azure Website from BitBucket using the in build deployment settings. The error message in the log is: ssh: connect to host bitbucket.org port 22: Bad file ...
0
votes
0answers
15 views

How to revert git version and make pull request on github

I have two repositories on github, one of them is head repository, and the other one is base - forked from the head repository. I want to revert one version on the head repository, actually I want ...
-1
votes
1answer
22 views

Execute a git pull on a remote windows server [closed]

I'm trying to remotely execute a git pull on a Windows server via New-PSSession powershell script. Most git commands like status and help, but when I execute a pull command it just hangs and I confirm ...
1
vote
1answer
34 views

Running jenkins as a different user

I followed http://blog.manula.org/2013/03/running-jenkins-under-different-user-in.html to run Jenkins under my own user account, because its default system user doesn't have permission to clone from ...
0
votes
1answer
121 views

Redhat OpenShift - Connection refused fatal: The remote end hung up unexpectedly

I'm trying to start using Redhat OpenShift with a JBoss 7 Server Cartridge, but as I'm trying to do a git clone I get: $ git clone ...
0
votes
0answers
20 views

set group ownership after git deploy

I'm running Centos7 and have a git reset --hard + git pull running as user A. The git reset --hard is triggered on the server by logging into the server through SSH as user A and issuing the git ...
1
vote
2answers
125 views

how to prevent git from using logged in username

I would like to make it possible for any user to clone a repository without having to specify the username in the clone command. For example, say my git username is john.doe (e.g. customer ...
-2
votes
1answer
191 views

Git Extensions using Putty: The Servers Host Key is Not Cached in the Registry (but I think it is)

Following the commands below, I am under the impression that my key is added to "the registry". What am I doing, or where is putty screwing up. I should note that scp alone works because I coppied my ...
1
vote
0answers
148 views

Elastic Beanstalk git aws.push taking a long time and more

I am starting to use the git aws.push command from within a git repository for a certain project we are currently working on. Within the root of the repo I have got the .elasticbeanstalk directory ...
-1
votes
1answer
26 views

How to deal with live changes using GIT

I'm fairly new to GIT and have a basic understanding of it, but there are a few situations that I can't seem to get answered. My setup is running on OpenShift with a WordPress managed? gear. What ...
0
votes
1answer
36 views

Run shell script as another user after git hook

I'm trying to execute a shell script that initialize the deployment of a web application after a git push. The shell script must be run as root ( or another user that is not the git user ). Searching ...
0
votes
0answers
46 views

Git best practice for having development test and production and promotion between them

I am not quite sure the best architecture for having a development, test and production environment and being able to promote releases from one to another. Don't know if that is enough information ...
1
vote
0answers
68 views

cgit only works on command line, but not with nginx

Like many times, I used a virtual machine to test something. This is the reason why the configuration is maybe a bit dirty. I just try to get cgit running with nginx. I created a directory /git ...
0
votes
0answers
145 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
1answer
55 views

Pull GitHub repo on Ubuntu server start

I have an autoscaling EC2 group and I have a central config using git between servers. They are set up with keys, so they don't need a password. I want to make sure when an instance gets started and ...
0
votes
1answer
106 views

Does Git server over SSH requires SFTP?

Does Git server over SSH requires SFTP module? Official manual lacks info here: http://git-scm.com/book/en/Git-on-the-Server-Setting-Up-the-Server
0
votes
3answers
372 views

git private server error: “Permission denied (publickey).”

I followed the instructions here in order to set up a private git server on my Amazon EC2 instance. However, I am having problems when trying to SSH into the git account. Specifically, I get the error ...
0
votes
1answer
76 views

Staging Multiple Git Branches on a single server

Is it a bad idea to use a single staging server for staging multiple git branches? For example, if the continuous integration server automatically runs an Ansible, Chef, Puppet, etc. provisioning ...
1
vote
0answers
27 views

Chaining Git Repos for Development and Production Website Deployment?

I would like to know if it is practical, or even wise, to chain git repos together. The situation I am thinking of is where I have the git repos on a remote web server where the master branch is that ...
0
votes
0answers
42 views

Allow a user to access a single Git repository

Consider a server that hosts several Git repositories: $ ls -l /opt/git/ drwxrwxr-x 7 ubuntu root 4096 Jan 2 2014 george.git drwxrwxr-x 7 ubuntu root 4096 Dec 29 2013 john.git drwxrwsr-x 7 ...
2
votes
0answers
57 views

cgit + redmine + git (advance integration)

I've successfully managed to configure my Redmine with advance git integration. However, I'm very interested in combining cgit with the current configs, but I'm not sure how. So, basically I want to ...
0
votes
0answers
31 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
402 views

jenkins build fails with git: stderr: Permission denied (publickey)

I've added the public key from my jenkins user into my github account ssh keys area. It also comes up as used: Added 7 minutes ago — Last used on August 04, 2014 Started by user Aaron Lote ...
1
vote
0answers
19 views

Git repository enforce committer metadata

The purpose is that I manage projects that may be distributed amongst multiple outsource agencies and we would like to, if possible, prevent them from knowing about each other by seeing the commit ...
0
votes
1answer
940 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
0answers
34 views

Get git + ssh to work without user owned .ssh/config

What's wrong At the moment, git gives me: Bad owner or permissions on ~/.ssh/config fatal: The remote end hung up unexpectedly when I try to pull a repo. Why I'm not just going to do what the ...
0
votes
1answer
88 views

Updating to GIT 2.0.1

I had installed git 2.0.1 compiled from source. It worked well. # cd git-2.0.1 # make prefix=/usr/local/git all # make prefix=/usr/local/git install # echo "export PATH=$PATH:/usr/local/git/bin" ...
0
votes
0answers
56 views

chef: bash resource ignores .netrc file

I'm using a .netrc file for storing username & password because my git repo is only available via https and needs authentication. In my recipe I got bash "update code" do cwd ...
0
votes
0answers
51 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 ...
0
votes
1answer
527 views

GitLab installation failing on RHEL 7

I'm trying to install GitLab 7.0 on RHEL 7 (using the CentOS omnibus package), but the installation keeps failing at the step below. Any suggestions as to how to get the installation to complete ...
0
votes
1answer
46 views

Management of system directory in linux using git

I'm using puppet to manage my linux systems. I have to use /etc/puppet directory to keep manifest files instead of user home directory, and I want to manage them by git. But because /etc/puppet's ...
0
votes
0answers
19 views

Git broken when accessing Program Files as non-administrator

My company has a customizable internal tool that is located within the Program Files folder of the dev computers. We using it as a Git repo, but I've noticed that Git incorrectly thinks there are ...
0
votes
1answer
80 views

Allow ssh access to git pull on remote machine

We have a server with some of our git repositories on and I would like to be able to clone one to our webserver (which runs debian). I ran ssh-keygen on the webserver and copied the public key into ...
1
vote
1answer
65 views

gitlab: How to not break old gitolite urls

I'm in the process of migrating from gitolite to gitlab. My original repositories had urls like: git@dev.example.com:project-gui and git@dev.example.com:project-libs. Gitlab has forced me to use ...
0
votes
0answers
56 views

Configure Firewall to allow incoming connections to Server Running in a VM

I have Lubuntu running in a VMware Virtual Machine (on a Windows 7 host). Within the VM, I am using the git daemon command to serve a git repository. When trying to connect to this server from another ...
0
votes
0answers
41 views

Git will not run on Windows Server 2012

I can install git on Windows 2012 and bash will appear on the context menu but whenever it is started I get "uname.exe has closed". If try to start git.exe through the cmd prompt or just by clicking ...
1
vote
1answer
126 views

Basic username-password authentication on gitorious

I recently set up my own server that is supposed to host some git repositories. I installed gitorious there. It is almost perfect. The one thing that I am struggling with right now is how can I make ...
0
votes
2answers
53 views

Tracking the linux config with git: how?

I'd like to track my linux configurations with git. My idea is to have a branch for each server. /etc is not the only one directory to be tracked (I won't git init in '/etc' ) As far as I could ...
1
vote
0answers
54 views

safety git repo mirror

I've read about git clone --mirror <repo> and git remote update. But it seems that would change local mirror no matter what happened in remote repo. What I want is a mirror backup copy of the ...