1
vote
1answer
41 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
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. ...
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 ...
0
votes
1answer
2k views

Git clone works fine but git push doesn't

I have created a test git repo on Git server: /var/cache/git/username/myGitRepo.git Which is a 'bare' git repo. The ownership of the files belong to this 'username' user. I can clone the above Git ...
0
votes
0answers
38 views

git clone from iMac to MacBook Pro error

When cloning a git repository via ssh I get the following error: git clone ssh://user@iMacHost.local/Users/home/git/projects/Stock.git Cloning into 'Stock'... hdiutil: attach failed - No such file or ...
1
vote
0answers
89 views

Limiting user access to local Gitorious repository

I have installed and configured in private server a local git repository using Gitorious. The problem I am facing is that when I set up a new Gitorious project and limit read access permissions to ...
11
votes
6answers
2k views

Where's the conventional place to store git repositories in a linux file system tree?

If I make an analogy with the hosting of a web server, I would say that git's data should be in /var/git, so my git repository would be in /var/git/myrepo Q: Is that the right guess ?
0
votes
1answer
272 views

Replicate GIT repository over multiple geolocations

We are facing to problems with speed of GIT central repository (cloning, pulling and pushing), which is at overseas. Our idea is create clone of that repository in our local office. Has anyone ...
2
votes
1answer
912 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 ...
1
vote
1answer
190 views

Setting up Gitosis, where to create the repos?

I'm trying to setup Gitosis on CentOS 6.2 but have some doubts/problems about it. I read this docs here, here and here but it's unclear to me where to configure where repositories are created. My ...
2
votes
1answer
263 views

Steps to install & configure Git server, stucked … :(

I've a CentOS 6.2 server and will like to install & configure a Git Server there. I read a lot of documentation at this [1] and [2] for example but I'm stucked because it's a bit complex than SVN ...
2
votes
3answers
385 views

git repo for dotfiles - clone to homefolder

I'm learning git, and the test case I'm using it for is keeping a repo of my linux profile settings (.bashrc .profile .tmux.conf etc) on my main machine, the repo is created at the home folder: ...
1
vote
2answers
473 views

Moving a git server: should I make repos bare?

I'm pulling a bunch of company git repositories from an older host to our company git server. I started by just git clone-ing the old repos into the repositories directory on the new server. Soon ...
0
votes
2answers
538 views

Is it safe to use Bitbucket as a remote for an /etc Git repo?

I'm worried about SSH private keys and such. I'm not quite sure what else is a security hazard but I'm sure there are many config files which should probably not be uploaded to a third-party website. ...
0
votes
0answers
336 views

Why am I unable to download git repository on git hub?

I must have done this a dozen times. I follow the instructions at http://help.github.com/mac-set-up-git/ Permission denied (publickey,keyboard-interactive). fatal: The remote end hung up unexpectedly ...
0
votes
4answers
2k views

Correct Git clone syntax for SSH

I'm trying to access a remote git repository using SSH but I'm getting a fatal error - is there a problem with my syntax? I've created a git repo in the mysite folder on my server - so the repo is at ...
3
votes
1answer
513 views

Allow users to change password when using git-shell?

Is this possible, without having the users tell me their password?
1
vote
0answers
215 views

Git, cherry-pick commits from one repo to another

First of all, I do not have much experience with git specific and I had worked with it previously like with ordinary SVN (one repo, possibly with branches, and simple commits.) I forked a repo on ...
1
vote
1answer
72 views

Git branch for instances of a website?

I'm working in a couple of websites, both websites needs almost the same code except for some changes in images and css, or settings. I'm just finished to read the chapter of branchs of Pro Git book ...
3
votes
3answers
329 views

Which *light* ubuntu to use as a git central server? [closed]

At my company we're currently using a self-deployed copy of the http://gitorious.org code to manage our repositories.. It's an absolute monster!! Gitorious is a very heavy ruby on rails app and the ...
3
votes
3answers
1k views

Trying to create a git repo that does an automatic checkout everytime someone updates origin

Basically, I have a server with a git repo 'origin'. I'm trying to have another repo auto-pull from origin every time someone pushes code to it. I've been using the hooks in origin, specifically ...
1
vote
2answers
1k views

Using GIT for backup. How to permanently remove deleted files from old revisions?

I'm using git for keeping all my sites backup here. It works very well, I can jump in and out of a expecific backup with a command. The problem is, this is incremental. Even if I exclude a file now, ...
0
votes
1answer
210 views

Gitosis permissions issues

I have Gitosis installed on a Centos box which I use to manage about a dozen repos(html/php/css etc) which I then manually pull through to live sites running on nginx/php as needed. The issue I have ...
1
vote
2answers
2k views

Local SVN repository to git

I am in the need of converting a local SVN repository to GIT. I know how to convert a remote SVN repository to git, however, I only have the local repositories; they are no longer hosted. How would ...
2
votes
2answers
491 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 ...
1
vote
1answer
250 views

git hook and ssh on server

I have a git repo on a server. I would like to run a update hook on this when a push is done. I am unable to get git revlist or take any information from the user because i can't enable tty. I have ...
2
votes
1answer
323 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 ...
1
vote
3answers
2k views

Git Clone from SSH Repository

I used to be able to clone from my personal git repository but now i seem to be running into an error. user:dev.site.com mikesilvis$ git clone { my ssh directory } server@ipaddress's password: ...
0
votes
1answer
456 views

Add local branch to remote repository?

In git, I created a new local branch and made various changes that have been committed. I'd like to now add this branch to the remote repository (not local master branch or origin/master remote ...
2
votes
4answers
898 views

Setting up a Git server

My team is working with several RedHat Linux servers and we'd like to synchronize our sources from one server to another (for several distinct projects). I'd like to set-up a git-server as a version ...
3
votes
2answers
2k views

Slow git clone and fetch

I setuped gitosis on a linux server following this tutorial: http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way We are using git on our windows machines with TortoiseGit ...
1
vote
2answers
314 views

git push not updating the cloned from repo

I did the following git clone from another repo say Release1 made changes to cloned repo committed changes pushed changes to both master and Release1 pulled changes from cloned folder in Release1 ...
12
votes
6answers
6k views

Git - post-receive hook with git pull “Failed to find a valid git directory”

It's very weird but when setting a git repository and creating a post-receive hook with: echo "--initializing hook--" cd ~/websites/testing echo "--prepare update--" git pull echo "--update ...
1
vote
1answer
304 views

GIT - GitHub Repository Setup Viable?

I have a small team of developers and we have purchased a small private repository account. Essentially all we want to do is have this central repository store all of our source code and for each ...
1
vote
4answers
227 views

Git Repository Source Control Process

My understanding of Git is the following: 1) Working tree ---> File system where you manually make changes. 2) Staging area ---> Where changes lie until they're committed. 3) Repository ---> Where ...
1
vote
3answers
644 views

Configuring a Remote Git Repository On A Networked Server?

I am using Git as my method of managing source control. Currently I am just using Git on my local machine with a local repository. I have a networked server setup which I would like to configure a ...
16
votes
10answers
20k views

Setting Up Git Repository on Remote Windows Server?

I have a windows server which I can access locally or remotely over the internet through remote desktop connection, etc. I want to set up a git repository (something similar to "trunk" in ...