Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
1answer
13 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
6k 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
326 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
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
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 ...
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. ...
0
votes
0answers
14 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
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 ...
2
votes
1answer
960 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
16 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
54 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 ...
2
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
852 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

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
25 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. ...
4
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: ...
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
45 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 ...
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 ...
1
vote
1answer
792 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
2answers
10k 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 ...
-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 ...
0
votes
1answer
19 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 ...
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
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 ...
14
votes
4answers
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 ...
1
vote
1answer
200 views

Redmine not finding my Git Repo on Debian 7.3

I'm currently facing the problem, that I get the error message The entry or revision was not found in the repository. when I want to see the repository in Redmine 1.4.4. The repository path is set to ...
0
votes
0answers
14 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 ...
160
votes
17answers
187k 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 ...
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
116 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 ...
2
votes
1answer
8k views

What is the best way to backup and restore gitlab? [closed]

What is the best way to backup and restore gitlab incuding all repositories, commit comments, wall comments, wiki etc.
-2
votes
1answer
182 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 ...
2
votes
4answers
444 views

etckeeper pushing to github

I set up etckeeper and added the file /etc/etckeeper/commit.d/60github-push in order to push the commit to github. [orschiro@thinkpad etc]$ sudo cat /etc/etckeeper/commit.d/60github-push #!/bin/sh ...
1
vote
0answers
142 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 ...
0
votes
1answer
248 views

Deploying Rails Application in AWS OpsWorks

I've created a stack, inside this stack have created two layers. Rails App Server (Ruby version: 2.0.0, Rails Stack: nginx & Unicorn, no custom chef recipes) MySQL (using built-in recipes) And ...
-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
35 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 ...
1
vote
3answers
383 views

Executing a git command using remote powershell results in a NativeCommmandError

I am getting an error while executing a remote PowerShell script. From my local machine I am running a PowerShell script that uses Invoke-Command to cd into a directory on a remote Amazon Windows ...
0
votes
0answers
45 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 ...
0
votes
1answer
1k views

Git post-commit /post-receive hook not working

I have a Git repo one one server. i want that whenever an admin pushes changes to git repo, those changes may automatically be deployed to a folder on the same server, where git repo is hosted. As my ...
0
votes
3answers
352 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 ...
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
139 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 ...
2
votes
1answer
515 views

Using npm install as a MS-Windows system account

I have a node application running on Windows, which I want to be able to update automatically. When I run npm install -d as the Administrator account - it works fine, but when I try to run it through ...
1
vote
1answer
54 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
1k views

SSH/Git: Specify paths with hostname instead of IP

Alright, quick question. When SSHing to a server using the IP, I can also specify a path to use, such as: git clone ssh://git@127.0.0.1:/home/git/project.git SomeProject However, when using a ...