Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
1answer
186 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
193 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
102 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
101 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
168 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
63 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
119 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
176 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
2k 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
446 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
238 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
148 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
182 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
1k 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
61 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
324 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
290 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
195 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
85 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
238 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
865 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
224 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 ...
6
votes
6answers
648 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
185 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 ...
5
votes
1answer
2k 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
86 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 ...
6
votes
1answer
1k 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" ...
1
vote
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 ...
2
votes
2answers
1k 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
3k 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
172 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
34 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
677 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
1k 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
20k 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
435 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
84 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
421 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 ...
3
votes
5answers
5k 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
177 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
411 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
164 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
174 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
241 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 ...
1
vote
3answers
12k 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
136 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 ...