The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
14 views

How to setup separate projectName/gitolite-admin.git configuration repositories with Gitolite?

I want to setup a Gitolite based installation for hosting git repositories in a small organization for a limited set of projects (100 projects at most, probably less than 30) with repositories under ...
0
votes
1answer
232 views

unable to access '/root/.config/git/attributes': Permission > denied”

In our Ubuntu Server we are able to clone as Nginx user in /usr/share/nginx/www that has www-data:www-data ownership getting a warning as ” warning: unable to access ...
1
vote
0answers
23 views

Git repository enforce committer metadata

The purpose is that I manage projects that may be distributed amongst multiple outsource agencies and we would like to, if possible, prevent them from knowing about each other by seeing the commit ...
1
vote
0answers
64 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 ...
1
vote
1answer
270 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
769 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
47 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
5k 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
44 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
115 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 ...
14
votes
6answers
3k 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
513 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
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 ...
1
vote
1answer
228 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
271 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
460 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
684 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
636 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
4answers
3k 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 ...
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.
3
votes
1answer
744 views

Allow users to change password when using git-shell?

Is this possible, without having the users tell me their password?
1
vote
0answers
241 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
75 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 ...
1
vote
0answers
719 views

Way to export/import TRAC Wiki pages?

I've been using an external hosting service for my project management, however recently it became very unstable. I'm now willing to find another service however the major problem is migration. The ...
3
votes
3answers
345 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 ...
0
votes
1answer
116 views

multi level ssh to pull and push git repo

I recently setup gitosis . Here is the scenario. I setup gitosis on Server S1 and multiple users have logins and all their id_rsa.pub have been setup so that their commits as a user get commited to ...
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
215 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
503 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
253 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
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 ...
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
485 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
914 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
350 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 ...
14
votes
6answers
7k 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
310 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
229 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
651 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 ...
17
votes
10answers
21k 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 ...