Git is a distributed source control system.

learn more… | top users | synonyms

2
votes
2answers
1k views

Add entire 300 GB filesystem to Git Annex repository?

By default, I get an error that I have too many open files from the process. If I lift the limit manually, I get an error that I'm out of memory. For whatever reason, it seems that Git Annex in its ...
2
votes
2answers
172 views

Using GIT to track changes in MDT 2012

Can I use SVN or GIT to handle version control and tracking changes for deployments built in MDT 2010/Deployment Workbench ?
2
votes
1answer
385 views

Seeking clean resolution for zombie who caused by git fetch / ubuntu motd

I have jenkins and gitosis running on the same [Ubuntu 10.04] server. Jenkins fetches git commits from a repo served by gitosis (also running on the same server). Many repos, actually, since there are ...
2
votes
2answers
216 views

how to make chained ssh work with git

I am trying to get round a silly firewall issue. I am trying to chain ssh access to git through a proxy ssh: ~/git-chain: #!/bin/bash ssh hosticangetto ssh $* # End And then: $ export ...
2
votes
3answers
357 views

What's a sensible workflow for deploying webserver content using git push?

I'd like to use git push to update my (nginx) webserver content, while still keeping things secure. One way I could do this would be to ssh to my server, git pull from bitbucket into /srv/www, and ...
2
votes
3answers
1k views

How To Install Git Daemon on Ubuntu 10.04 Linux with SparkleShare (and use it like Drop Box)

I tried following this doc... https://help.ubuntu.com/community/Git ...but unfortunately the "initialKeyFileName" step is not explained.
2
votes
1answer
9k views

Git clone with user and password

I'm using Git on Windows with LDAP. No issue so far. When I'm cloning my remote repository I call: git clone http://user@host.com/name/.git and I got a prompt for password This is working. But now ...
2
votes
1answer
454 views

Git - Odd Disk Space Usage on GitHub

We use GitHub to host all my projects, and we've got a 6GB soft-limit. A few days ago, there were many files added to the repository which should not have been added (such as images, movies, etc.) ...
2
votes
4answers
796 views

Git vs Mercurial server on Windows

I am deciding between setting up a Mercurial or Git server (via HTTPS) on Windows Server 2008. I have heard that Git support is sketchy for Windows client use, but haven't heard much (that are up to ...
2
votes
2answers
1k views

Downloading a file (or list) directly from a git repository?

Is there an easy way to grab files or directory listings from a remote bare git repository (preferably over SSH or git:// protocols)? Background I am trying to migrate from SVN to Git and we have ...
2
votes
1answer
2k views

git diff between two branches when the path has changed

I need to understand changes to a file between two releases represented by my current master and branch new_branch. Normally, I would run the following if path/name are the same in both branches. ...
2
votes
1answer
921 views

Git multi-master, is it possible? [closed]

Is it possible to set a dual master GIT repositories? I would like to set up two different servers which I could push and commit to and changes on any of them would be propagated to the other. I've ...
2
votes
3answers
1k views

Giving PHP the permission to make a git pull request

I would like to allow PHP to execute a Git pull command. But there are some problems with the user and permissions. How did you solve the problem? PHP runs as user www-data. Therefore I've changed ...
2
votes
1answer
870 views

Opsworks Custom Layer deployment

I am trying to use a custom layer in AWS Opsworks to add a nginx webserver. I have successfully created the layer, I added my app via GIT (no password on repo), but when I deploy the command is ...
2
votes
3answers
647 views

Replace gitolite3 user with git

I am installing gitolite3 on a server, with ssh and http pulling/pushing/alltherest. During the process, a user and group gitolite3 is created. When I run: $ ssh gitolite3@server info I get the ...
2
votes
1answer
223 views

CGI permissions with NGINX & FastCGI

I'm running GitWeb (which is essentially a CGI script) on a server which also runs GitLab. My aim is to provide reaad-only access to GitLab repositories without registering people. I've pointed ...
2
votes
1answer
70 views

Ideal robots.txt for a gitweb installation? [closed]

I host a few git repositories at git.nomeata.de using gitweb (and gitolite). Occasionally, a search engine spider comes along and begins to hammer the interface. While I generally do want my git ...
2
votes
1answer
493 views

Why do I keep getting bad index files with Git [closed]

I keep getting the following error: error: bad index file sha1 signature fatal: index file corrupt And I know the short term solution is just to delete the index and away you go but my question is, ...
2
votes
2answers
141 views

GIT Website Delopyment including submodules

So I got a GIT repository with a couple of submodules. Now i created a "post-update" hook on my webserver that automatically deploys my website on update. That's how my post-update hook looks like: ...
2
votes
2answers
207 views

GIT and Django Projects

I have two servers, a Dev server and a Production server. The Production server runs a live Django site, while the Dev server has a copy of the Django project. I use the Dev server to work on the ...
2
votes
1answer
450 views

How to globally limit memory usage of git

I have a Virtual Private Server where all my products' git repositories are. The problem is that while I fetch from it, the VPS dies out of memory. So I have to limit the memory usage. I know how to ...
2
votes
2answers
1k views

Gitweb document root with gitolite

I'm on Mac OsX, trying to host my own git server. I've got gitolite running perfectly. However, I have a folder called "git" in my Sites directory, such that visiting http://git.example.com points ...
2
votes
1answer
1k views

Errors while trying to install gitolite

I'm trying to get up and running gitolite as the instructions said at this http://sitaramc.github.com/gitolite/qi.html but when I run the command: [git@devserver gitolite]$ src/gitolite install -ln ...
2
votes
1answer
125 views

Too many git pulls at once don't work

I have a deploy script where I want all of my webservers to simultaneously perform a git pull from the same place. When only two servers do the pull simultaneously, there are no problems. Once I have ...
2
votes
2answers
2k views

Can I deploy via Git to Rackspace Cloud Sites?

I was wondering if anyone knows of a way to deploy to Rackspace Cloud Sites via Git-push? I contacted the Rackspace support and all they can tell me is that I might be able to as long as I don't need ...
2
votes
1answer
2k views

git pull-push giving error

Hi i cloned a local repository on another server http://localipaddress/git/project . It created an empty repository. When i tried to pull from the repository, it gave me an error Your ...
2
votes
1answer
385 views

Deploying git repo on production server without account password

What I would like to do How can I clone a git repository on my production server, without providing the account's password, and passphrase for the SSH key? Perhaps what I'm asking is not possible. ...
2
votes
1answer
466 views

Installing packages without internet access

I am trying to install git on a SUSE linux server that, to all intents and purposes, doesn't have internet access. It would appear that I also need to install some dependencies for git. Is there ...
2
votes
2answers
218 views

“Half” ssh authorization to a server with git repository

Currently I have purchased web hosting with ssh access. I have created a git repository on it and if I set my public key in ~/.ssh/authorized_keys file, I have access to that repo, I can push/pull ...
2
votes
1answer
418 views

Setup SSH key per user for Git access

I'm setting up a site that will have multiple development instances running on the same server. Essentially, we'd have dev-a.whatever.com, dev-b.whatever.com, etc.. all running off a single server. I ...
2
votes
1answer
349 views

How can I make gitosis distinguish between two users with the same username

I have a gitosis system that seems to be working correctly except for a common problem we run into where I can't distingush permissions between two users who have the same username, but different ...
2
votes
2answers
2k views

Permission denied (publickey) error

I'm trying to connct to github via shh with using following command: ssh -v github.com But i have error Permission denied (publickey). I generated rsa keys with ssh-keygen command keys are located ...
2
votes
2answers
1k views

How is gitosis-serve invoked?

I have a working installation of Gitosis, but I'm wondering how the gitosis-serve command ever gets invoked! From all I can understand, when you connect through SSH as the git user (using git@host), ...
2
votes
2answers
511 views

Gitosis post-receive hook before initial push

I have a script on the client machine that adds the necessary configuration stuff to gitosis.conf on the server. I'm able to push and everything works correctly. However, I want to add a ...
2
votes
2answers
776 views

Installing gitweb failed: No package gitweb available

I have tried installing gitweb via ssh and failed. Below is what I get. root@server [~]# yum install gitweb Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * rpmforge: ...
2
votes
1answer
324 views

Test and Production Server

I am using Git for a test and production server and I'm trying to figure out the best way to update the production server. I have limited SSH access, and don't want to manually update my production ...
2
votes
4answers
127 views

setting up repositories for users, what does this entail?

Say I wanted to setup a server, where I could create GIT repositories for users. I would only give them access via SSH. I would need to restrict them to say 100megs or 1 gig etc. Is this a ...
2
votes
1answer
634 views

Gitlab backup file location (Omnibus installation)

I have installed Gitlab using omnibus installation package. I took a backup using below command sudo gitlab-rake gitlab:backup:create Backup was successfully created. But I want to know the ...
2
votes
3answers
1k 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 ...
2
votes
2answers
938 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 ...
2
votes
2answers
167 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 ...
2
votes
2answers
624 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 ...
2
votes
1answer
442 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 ...
2
votes
1answer
657 views

Amazon Elastic Beanstalk + Git Submodules

I'm using Amazon's Elastic Beanstalk to deploy my app via Git, and I've got submodules within my Git. Of course, when I look at the directories where the data for the submodules should be, nothing is ...
2
votes
2answers
206 views

Gitolite3 not writing

I am a bit at world's end here. I want to install gitolite3 smart http over apache. I can successfully pull, but not push (doesn't even give me any errors or notices, not even in any known log). I ...
2
votes
1answer
1k views

Puppet vcsrepo git checkout branch

I am using puppet to clone a repo on an agent node. My site.pp contains node foobar{ vcsrepo{"home/user1/gitrepo1": provider=>git, source=>"https://github.com/foobar/foo.git", ...
2
votes
1answer
166 views

Alternative to Samba with XAMP stack

I am currently setting up a server on my network for web development work and was wondering if there is any better way of doing what I intend to do. My work machine is a Windows 7 desktop and I am ...
2
votes
1answer
762 views

Git, plink, and cmd.exe: how do I set plink.exe to be verbose when used as GIT_SSH

How can I configure plink.exe to be verbose when run by git? The problem: on windows, using the command git.cmd clone git+ssh://user@host/repo folder when GIT_SSH=plink.exe intermittently fails ...
2
votes
1answer
347 views

Uninstall Gitorious

I have installed Gitorious on my CentOS server but the ssh public key authentication method does not serve my purpose as most of the users are on Windows and will be using more than one computer. I ...
2
votes
2answers
147 views

GIT Website Deployment

I am attempting to setup GIT to deploy my project to different locations based on the branch. (I think this is what I want to do anyway). My current setup is this: Local dev machine running ...