Tagged Questions

Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
1answer
29 views

Is it possible to edit files in a Git repository through a browser?

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 ...
0
votes
0answers
13 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
14 views

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

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
8 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
21 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 ...
-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 ...
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 ...
1
vote
0answers
52 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 ...
0
votes
0answers
27 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
21 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 ...
3
votes
2answers
102 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). ...
5
votes
1answer
206 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
1answer
69 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
36 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
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
0answers
194 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
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
74 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
15 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
38 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
23 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
23 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
49 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
177 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
27 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
140 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
343 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
227 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
46 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
61 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
92 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
1answer
212 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
76 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
154 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
759 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
103 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
30 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
48 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
73 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
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
479 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
23 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
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
0answers
38 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
117 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
66 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 ...