Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
1answer
193 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
2k 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
2answers
2k views

Git post-commit /post-receive hook not working [closed]

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
655 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
194 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
40 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
516 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
157 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
1k 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
78 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
834 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
1k 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
815 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
2k 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
132 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 () { ...
0
votes
0answers
146 views

using git with web hook from github

I try to deploy from a github web hook my code. So I create a deploy file: <?php error_reporting(E_ALL); if ( $_POST['payload'] ) { echo ("****************************************\n"); ...
0
votes
0answers
31 views

ssh-add is required before each git push

Before I can git push / pull or capistrano deploy (using agent_forward => true) I have to run ssh-add command. If I try without this I get a publickey failure. Does anyone know why ssh-add is not ...
0
votes
1answer
2k views

Configure GIT server over HTTP using LDAP

I am quite new to GIT and overall am not very experienced in infrastructure setup. However, what I am trying to do seems to be very basic and I am not able to do it. I am trying to create a GIT ...
1
vote
1answer
574 views

Turning on ssl_verify_client in Nginx causes Gitlab user identification to fail

We have a private Gitlab instance that we plan on exposing externally, in order to ensure that only employees can connect to the website I have rolled out a small internal CA with user certs in order ...
0
votes
1answer
907 views

Copying a git repository to atlassian stash?

We would like to move our git repository to an atlassian stash installation. I have created a new and empty repository in stash and from our existing git repository on my local machine I have ...
6
votes
2answers
17k 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
vote
1answer
365 views

Password prompt for public git repositories with git daemon - gitolite

I try to setup a git server with gitolite and make some repositories public. I installed gitolite, configured it for the user git and everything works fine. Permissions and UMask are set to 0027, to ...
0
votes
1answer
77 views

Deploy using git with different settings per local/hosted environment

I'm new to Git and planning to use it to deploy a PHP application to AWS Elasitic Beanstalk environment. I don't know how to handle the database configuration or anything else that needs different ...
2
votes
1answer
381 views

Git github not working with google authenticator OSX

So I had git running on my computer just fine. My password was saved with the osxkeychain thingy and everything ran smoothly. Today I decided I should be safe and enable google authenticator 2-step ...
2
votes
5answers
4k views

DRBD vs. GlusterFS for replication

I need to build a solution to host internal git repositories. It needs to supports hundreds of thousands (or more) repositories. I plan on using multiple "dumb" servers with a shared storage, so ...
1
vote
0answers
153 views

Removing sensitive data from Git. “fatal: ambiguous argument 'rm'”

I'm trying to run this command: git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch filename.js' --prune-empty --tag-name-filter cat -- --all but I keep getting this error: ...
0
votes
1answer
365 views

Error on installing Git

I keep getting these errors when I try to install git: Error: Package: git-1.8.2.1-1.el5.i386 (epel) Requires: libcurl.so.3 Error: Package: perl-Git-1.8.2.1-1.el5.i386 (epel) ...
1
vote
1answer
118 views

Git with Smart HTTP Transport. Is git update-server-info needed?

I am setting up a Git server using HTTP transport. As both my server and the clients will be using Git >= 1.6.6, Smart HTTP Transport is enabled. The Git manual section about the HTTP/S Protocol says ...
2
votes
2answers
160 views

SSH access for hundreds of thousands of users

I need to setup a solution similar to GitHub, where users can SSH to their git repository. This should scale for hundreds of thousands of users, so my idea is to use a distributed filesystem for the ...
1
vote
0answers
220 views

Integrating Kerberos authentication on Apache with a Git server

First time asking a question here so I hope I'm in the right place to do so. I've also searched for similar problems on here, but couldn't find anything quite as similar. Here's my problem. We ...
0
votes
3answers
10k 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 ...
3
votes
1answer
110 views

Where to store VCS version in RPM?

We're using Git as our VCS and RPMs for packaging. I'd like to store the Git hash a package was built from, but I'm not sure on the most appropriate place. There are a number of tags available to an ...
2
votes
1answer
2k views

installing git from debian wheezy backports: anyway i see old package version

I need to install git 1.8.* version. I added backports to my sources.list; Removed current installed git via apt-get remove git; Executed apt-get update to update my packages list aptitude show git ...
2
votes
2answers
568 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 ...
1
vote
1answer
443 views

Repository Access Control with GIT over HTTPS

We recently began experimenting with GIT and are looking to possibly switch over from SVN to GIT. I setup a server for git that is currently using the SSH protocol. There server is running CentOS 6.5. ...
1
vote
1answer
307 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
1answer
334 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 ...
0
votes
1answer
233 views

Force git pull and clone to not prompt for password

I host my own git repositories on my server and I can clone them with git clone git@example.com:repo I would like to know how to make cloning and pulling passwordless, so friends of mine could run ...
-1
votes
1answer
140 views

Migrating a Github repository with all the commit history to Perforce [closed]

The title is self explanatory, how can i migrate a github repository with commit history to Perforce. Thanks.
-1
votes
2answers
230 views

CentOS 6 with Hiawatha initial setup ssh agent problems

I have a VPS that I have installed cmake, and Hiawatha on to without problems. The ip address provides a webpage when viewed in the browser so that is working fine. My document root is to be loaded ...
3
votes
5answers
1k views

Limit ssh to local network, except for the git user

I have an Ubuntu 12.04 server set up with Gitlab and OpenVPN to serve as a git and vpn server for us. Currently I have opened up port 1194 in the firewall to open for OpenVPN and let users ...
2
votes
1answer
388 views

Permissions for Jenkins to allow post-receive hooks, yet block anonymous users

I'm trying to disable Anonymous access to our Jenkins installation, but still allow Codebase Git to perform post-receive hooks to post to Jenkins, to allow it to trigger a build. We're using ...
0
votes
1answer
71 views

Apache > mod_auth_dbm combine group and user files

I have created a Git server with git-http-backend on a VPS with CentOS 6.5, and use htpasswd authentication. The relevant section used to look like this: <LocationMatch ".*"> AuthType ...
2
votes
2answers
5k views

Failed to connect to repository - 401 on Jenkins + Codebase Git

I'm trying to get Jenkins to use Git as our SCM, and setting it up is being a bit of a pain. When specifying the Codebase Git repo to use, using the following format: ...
2
votes
1answer
1k 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 ...
0
votes
1answer
1k views

CentOS 6.4 - Can't push git using public / private keys

Problem: Can't push using Git from Windows to Linux. Also can't connect to git user over ssh. Update #1: I changed "PasswordAuthentication" to no and tested. Key did not work, but password did. ...
1
vote
0answers
2k views

“Cannot allocate memory” Using composer to install composer using fork from laravel git

Whenever I try to install a new laravel project, I receive the following error: PHP Fatal error: Uncaught exception 'ErrorException' with message 'proc_open(): fork failed - Cannot allocate memory' ...
-5
votes
1answer
55 views

Backup of images [closed]

I've just installed a Ubuntu for a file server. It will share a folder (samba) and employees of my company will save photos on that. Currently the total amount of the photos is about 100GB and every ...
0
votes
1answer
69 views

Looking for VCS wrapper that tracks system files changing across the whole *nix OS and sends diffs through email

I need some software that looks after custom directories across the whole OS (i.e. /etc) and alerting me if someone edit something file inside. Additionally, this tool must automatically commit and ...
1
vote
1answer
122 views

gitweb refusing to blame

I'm attempting to get gitweb (git 1.8.4.2, via git instaweb) in a project dir on my Debian server to offer blame views. In my /etc/gitweb.conf: … # default logo, favicon, etc. settings ...