Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
0answers
15 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 ...
3
votes
1answer
15 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
18 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 ...
1
vote
1answer
7 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 ...
0
votes
0answers
22 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 ...
3
votes
1answer
44 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
49 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 ...
0
votes
1answer
18 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
45 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: ...
2
votes
1answer
42 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
16 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
16 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
39 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
83 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
33 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 ...
3
votes
1answer
643 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 ...
0
votes
0answers
15 views

Setup http access for GIT

www.kernel.org/pub/software/scm/git/docs/howto/setup-git-server-over-http.html I am following the above document to setup http for Git. I've done the step two and I can list the directory at URL: ...
1
vote
1answer
42 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
34 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
67 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
483 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
26 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
76 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
24 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
78 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 ...
0
votes
0answers
17 views

how to setup GitHub for restricted users of Windows Server 2012?

I want to let users use git and GitHub for code development, partly to let them work on their personal computers occasionally. So git would keep track of development across user accounts on the ...
1
vote
0answers
57 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
2answers
401 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
22 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 ...
0
votes
1answer
224 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 ...
1
vote
1answer
78 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
66 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
0answers
52 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
127 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
70 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 ...
-2
votes
1answer
50 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
73 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
198 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 ...
1
vote
1answer
77 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
45 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 ...
1
vote
1answer
946 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: ...
0
votes
1answer
230 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
42 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. ...
0
votes
0answers
633 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
50 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
53 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
54 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 ...
1
vote
1answer
64 views

nginx http server_names_hash_bucket_size

I recently installed GitLab & nginx on my server. All went through well, however, I am having problem in server_names_hash_bucket_size & server_names_hash_max_size. I need to increase it, but ...
1
vote
0answers
27 views

Getting new tags in Git Push on pre-receive

I'm using pre-receive hooks in GIT (using bash on Linux) to filter the push that are allowed into my repo. I need to filter the push that developers do into my GIT repo, allowing just pushed with ...
3
votes
2answers
60 views

How to use Git over multiple similar systems

I have a system I need to duplicate over several systems and make minor changes like change less/css variables and configuration files. Is there a best practice for these kind of problems? I ...