Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
1answer
131 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
34 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 ...
1
vote
0answers
57 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
84 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
55 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
567 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
2k 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
40 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
154 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
77 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
1answer
87 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
745 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
50 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
21 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
106 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
108 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
69 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
52 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
142 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
56 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
79 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
140 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
833 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
299 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
182 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
89 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
90 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 ...
3
votes
1answer
840 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
57 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
221 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
140 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
137 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
79 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 ...
3
votes
0answers
2k 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
153 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" ...
1
vote
1answer
1k 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
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
1answer
492 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 ...
0
votes
2answers
154 views

How to debug Repository.fetch_changesets runned from ./script/rails runner

For some time I have been updating changesets manually on server with following command's: $ cd /custom/www-data/ $ source /custom/www-data/.rvm/scripts/rvm $ ./script/rails runner ...
0
votes
0answers
38 views

Multiple upstreams with SSH from Bitbucket

I'm a bit new to deployment on servers, straight from Bitbucket to my VPS. One thing I couldn't figure out by myself or Google was the following: The first Bitbucket project I added with git ssh to ...
6
votes
6answers
375 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
1answer
134 views

Git is not working properly when installing with chef

I'm provisioning my servers with Chef. For git I'm using the community cookbook and is installing version 1.8.3.1 in Amazon Linux. However after it gets installed I don't get any output while running ...
3
votes
1answer
761 views

Unknown option git config --local reported by Jenkins

I asked the same question on stack overflow but I only got 5 views, I think this is a better forum for this question. I'm setting up CI for a C# project hosted on github in a private repo. Git is ...
1
vote
0answers
62 views

Set git config for a group instead of user or systemwide

We have configured git config --system init.templatedir /path/ on our system to automatically create required githooks for each new repository created via git init. However, there is another group of ...
5
votes
1answer
656 views

I would like Jenkins to fire a build when a patchset is uploaded or changed in Gerrit. How, exactly, do I configure this?

I am using Jenkins 1.557 to watch a Gerrit 2.8 instance for changes. I am using the following plugins: Git Plugin 2.1.0 Git Client Plugin 1.7.0 Gerrit Trigger 2.11.1 When I use "test connection" ...
0
votes
1answer
936 views

How to make git push work with nginx (basic auth) behind nginx reverse proxy (HTTPS)?

I like to have a git server on a computer (backend) without direct internet access. There should be basic authentication. The access should be available by means of a reverse proxy (frontend) on ...
1
vote
2answers
637 views

Move repo from plain git to GitLab server

I have two servers, an older server running plain git with three repositories under /opt/. These projects are now to be moved over to a new server where I choose to run gitlab for the sake of the GUI ...
1
vote
3answers
1k views

keeping a remote server up to date with git repo

So, I'm aware of git hooks, and will be looking into those next, but want to write a simple bash script, run via cron, to keep a repo on a remote server up to date. I imagine it working like this: ...
3
votes
1answer
99 views

How to run git as daemon on Solaris (SmartOS)

As stated in subject. I have this script that works fine from command line: #!/sbin/sh GITCOMMAND="git daemon --base-path=/my/git/repo --export-all --enable=receive-pack --reuseaddr" startcmd () { ...