Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
1answer
16 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
21 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
votes
0answers
15 views

Git, Jenkins, multiple repos and tagging [closed]

We're in a horribleish situation - we have multiple Git repos all required for a single build so have to use MultiSCM to get source wt the start if a job. I'm finally getting around to hooking up Git ...
1
vote
0answers
27 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
18 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
votes
0answers
20 views

Using git with cron [closed]

I'm not looking for a solution - mostly for an opinion. But if there is alternative/better solutions I will gladly hear them) My use case: small server, not too many people working on separate ...
1
vote
1answer
30 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
31 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
146 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
38 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 ...
0
votes
0answers
15 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
26 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 ...
1
vote
0answers
18 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 ...
-1
votes
0answers
12 views

error: cannot lock existing info/refs with GIT

I accidentally pressed CTRL+Z in my terminal while I was in the middle of a git push origin my-feature-branch. So then when i tried to push again, i get the message error: cannot lock existing ...
0
votes
0answers
18 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
90 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
13 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
0answers
134 views

Can I use Git, or any derivatives such as Git-Annex etc, as a two way sync framework? [migrated]

Can I use Git, or any derivatives such as Git-Annex etc, as a two way sync framework? What would be the pros and cons of this framework? Would the syncs be done through merging diffs?
0
votes
1answer
204 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
30 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
51 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
31 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
35 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
276 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
37 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
18 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
46 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 ...
0
votes
1answer
26 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
35 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
30 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 ...
0
votes
1answer
107 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
49 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
43 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 ...
0
votes
1answer
117 views

Getting particular server config from Git in Chef Solo

I don't want to use Chef Server as for now, but rather want to leverage Chef Solo. I need to keep configs (attributes and files) of particular servers in a separate Git repo. This is needed to keep ...
2
votes
3answers
233 views

GIT server with username and password authentication

I would like to set a GIT server and let my developers to login using username and password in order to commit and make changes to the projects. I need also to manage developer access to projects (I ...
0
votes
1answer
90 views

How to set up Git on remote instance using keys from local machine?

I have a setup where I can ssh into my remote server (ie a Google Compute instance) from my local machine. I used to be able to clone, push, and pull from a repository on my remote instance without ...
1
vote
1answer
90 views

Perl compatability issues when installing Git on EC2

Can anyone help me install git on one of my EC2 boxes? When I run: sudo yum install git I get: Resolving Dependencies --> Running transaction check ---> Package git.x86_64 0:1.8.2.1-1.el6 ...
0
votes
1answer
22 views

Create .gitconfig for chrooted users

I have several chrooted users on my server, and I want to install git for specific users. I block at the command : git config --global user.name "user_name" I use this command connected as the ...
0
votes
1answer
62 views

How does one get a recent version of git installed on an ec2 instance?

I can't for the life of me figure out how to get yum to install a recent version of git on an ec2 instance. yum install git installs 1.7.4.5, which is not recent enough. Surely there's some 1.8.x ...
2
votes
1answer
245 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 ...
0
votes
3answers
45 views

Remote Debugging and deployment of a Project Built Locally

We work on our projects locally, and deploy them on remote servers for testing. This is currently done via git commits/push/pulls. But the problem here is that most of the commit contain errors and/or ...
1
vote
0answers
120 views

Elastic beanstalk access private git repo

I am trying to currently add an ssh key to my elastic beanstalk instances using .ebextensions commands. The keys I have stored are in my application code and I try to copy them to the root .ssh ...
0
votes
1answer
71 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. ...
1
vote
1answer
88 views

git: create new remote repo with http backend?

I set up access to git over apache2 and the git-http-backend as described in http://www.tikalk.com/alm/setup-git-gitweb-git-http-backend-smart-http-ubuntu-1204 . I can pull from the test repository ...
0
votes
1answer
70 views

Why can root see a dir but not a user?

I created a git repo on my vps through root and made it shared so a group of people have the ability to access it: # mkdir example.git # cd example.git # git init --bare --shared=group Initialized ...
2
votes
0answers
1k views

SSL verification error with git (on github) on Ubuntu 14.04

I'm trying to clone the atom repository that just went fully open-source and I've run into some trouble. Attempting to git clone the repository is producing an SSL error: wug@wugputer:/src/test$ git ...
0
votes
1answer
84 views

WARNING: failed to start git_daemon

I follow this http://bin63.com/how-to-setup-a-git-repository-on-freebsd tutorial to the letter and edit: /etc/rc.conf with: git_daemon_enable="YES" git_daemon_directory="/git" ...
0
votes
1answer
464 views

Puppet exec command with variable not executed

I have a very simple Puppet (sub)module that should use Git to clone a repository from a remote location: class wppuppet::git( $location = '/var/www/wp' ) { file { $location: ensure => ...
0
votes
1answer
724 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
1answer
160 views

hostname of minion in salt command

I'm fairly new to salt so it's possible that I just missed something, but I can't figure this out. I am using salt as a command execution tool (no config management so far). I couldn't find a way to ...