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 ...
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
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 ...
-3
votes
1answer
100 views

GitHub updating repository?

I am trying to setup GitHub on my server and gotten to the point where I am running the command "git push -u origin master". However, a large file was detected and the following error was received: ...
0
votes
1answer
108 views

Deploying PHP code to Linode on Git push

We are using two Linodes to host our application: one for production and one for staging. I would like to set it up so that when code is pushed to the development branch of our Git repository, the ...
2
votes
3answers
188 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 ...
0
votes
1answer
50 views

Connect Git Remote Between EC2 New User and Remote Computer

From an Amazon EC2 instance, I created a new user, webserver, and created a git repository that is only accessible to webserver and not the default user. I wish to, from my home computer (also Linux), ...
-3
votes
1answer
57 views

Restrict Access to GIT repo

I have GIT repo from a cloud provider and I would like to add new members to my team but I don't want them to be able to clone the repo to their own laptops. I would like to create a shared ...
0
votes
2answers
71 views

Using Git as a means to sync zabbix instances

So in our environment, we are using a custom build of Zabbix as a monitoring solution. We have Zabbix deployed to four different sites, and would like to ensure that the build is consistent across all ...
1
vote
1answer
90 views

Setup git on an Internal Server [Ubuntu]

I'm new to Ubuntu. I've been following this Setting Up the Server to config git on a Ubuntu machine (MyUbuntu). I created a Git account and my authorized_key is in /Home/git/.ssh ssh-rsa ...
0
votes
2answers
107 views

List linux users

I need to find a group in linux that doesn't appear in my /etc/groups file. I run the following command and get an error sudo adduser --disabled-login --gecos 'GitLab' git adduser: The group `git' ...
1
vote
0answers
141 views

Write issues on Linux Samba shares with OS X clients

Our web development company has a Linux server with a Samba share which employees use to develop websites. On the Samba share are numerous directories which serve as document roots for a webserver ...
0
votes
4answers
395 views

SSH Connection timed out even without a valid key

So I have done the same process over and over again and everytime worked perfectly, but on thie particular server it just won't work. I've tried any written suggestion on the Internet + serverfault ...
0
votes
1answer
181 views

SSH failing from script, working on command line (Git)

Have 3 servers: Local, Bare, Development. The following workflow works perfectly: 1. Make my local changes 2. git push to Bare 3. ssh into Bare 4. $ ssh ip.of.Development.server "cd ...
2
votes
1answer
200 views

Authenticate Git virtual users via PAM

Can Git authenticate virtual users via PAM? In particular, would Git require some additional utility, such as gitolite or gitosis?
0
votes
2answers
146 views

How to keep groups when pulling with git

I have a staging site that is a working directory of a git repository. How to set up git to let a developer pull out a branch or release without changing the group of the modified files? An example. ...
2
votes
1answer
111 views

git auto complete freezes terminal when password required

When executing a command such as this git pull origin BRANCH-1 and hitting tab (auto complete) I get a password prompt like so: git pull origin BRANCH-1Password: Then the terminal freezes. The ...
0
votes
1answer
170 views

Unable to setup git with jailed user

I have performed below steps to setup jailed user here username is test3 mkdir -p /home/test3/{dev,etc,lib,usr,bin} mkdir -p /home/test3/usr/bin chown root.test3 /home/test3 mknod -m 666 ...
1
vote
1answer
61 views

disable viewgit download option

I installed the web browsing interface viewgit on my server, in order to manage my git repositories. Everything works pretty well, but I bothered by the download option of every file. Is there a ...
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 ?
3
votes
2answers
232 views

Installing Git on Ubuntu 12.04

I installed git with gitolite on my vserver using this tutorial. But I've got a problem to clone the gitolite-admin repo to my computer. The user is created with the option --disabled-password But ...
3
votes
3answers
1k views

SSH does not allow the use of a key with group readable permissions

I have a development git server that deploys to a live server when the live branch is pushed to. Every user has their own login and therefore the post-receive hook which does the live deployment is ...
0
votes
1answer
198 views

which git returns /usr/bin/git however there is not such path, how do I reinstall git correctly?

I managed to get git to stop working (Mac OSX Mountain Lion) When I type "git" it doesn't say command not found, just shows an empty line, Pressing enter again, exits, and does nothing (yes, I know ...
2
votes
1answer
376 views

How to allow a git hook to run an executable with sudo by modifying /etc/sudoers

I'm using a git post-update hook to run a command via sudo, and I get the error: sudo: sorry, you must have a tty to run sudo. I believe I need to modify /etc/sudoers but I don't know how to do this. ...
4
votes
3answers
564 views

Installing git with no idea about machine configuration

I have a user account on a Linux server (x86_64-unknown-linux-gnu, according to this). It apparently has no package managers in the $PATH (yum, apt-get, pkg, pkg-add, emerge, pacman), and it does not ...
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
1answer
362 views

GIT ubuntu 12.04 [closed]

I was wondering if anyone has installed git and gitosis on ubuntu 12.04 if not what is the best version to go for on the new version of ubuntu? Any recommendations on the best way to set up GIT are ...
3
votes
2answers
385 views

deploy git project and permission issue

I have project hosted with gitolite on my own server, and I would like to deploy the whole project from gitolite bare repository to apache accessible place, by post-receive hook. I have next hook ...
2
votes
3answers
386 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
800 views

Linux user group configuration for Git bare repository

I'm using a Ubuntu box to host my bare Git repositories for developers to work off. At the moment I'm creating a user account for each developer on the box because it doubles as a filestore and local ...
0
votes
1answer
140 views

What is the Difference between svn and git [closed]

What are the pros and cons of git and svn. We are suppose to use a subversion systems. Any body have a idea. Thanks in advance.
2
votes
1answer
154 views

Separate git accounts on linux server

I have a lot of git repositories on my linux (ubuntu) server. I access all of them with the Apache user www-data. This worked great in the past because I was the only web developer. Now I have ...
0
votes
1answer
258 views

Getting error installing Git on centos server

I am trying to install git on centos 5.5 and i am getting this error: git-email-1.7.7.3-1.w5.x86_64 from webtatic has depsolving problems --> Missing Dependency: perl(Net::SMTP::SSL) is needed ...
1
vote
1answer
1k views

Permission error with git on linux with bare shared repo

I've got a bare central repo that has this option turned on: git config core.sharedRepository true For some reason, the other users on this CentOS machine that pulls/pushes from the central repo ...
1
vote
2answers
110 views

Permissions in a multiuser Linux environment

This question has been asked many times, but I haven't found a solution for this type of permission. I have a VPS with multiple websites in chroot, each one running with a unique user, without root ...
2
votes
2answers
257 views

Managing nginx configurations

My goal is to be able to update my server configurations (eg, nginx) quickly and easily using version control (eg, git). One requirement I had in mind was to have the configurations stored inside the ...
1
vote
2answers
953 views

Install gitolite without needing public key(s)?

All of our developers run Windows workstations. We run a Linux development server. I've been wanting to try out running our own git server on the dev server. After some research I've settled on ...
2
votes
1answer
1k views

Sudo Error “ you must have a tty to run sudo”

I am trying to run the following command: sudo git pull; I get the following error: Command failed: sudo: sorry, you must have a tty to run sudo The command is being run from a nodejs server ...
1
vote
0answers
208 views

GIT Private Repository - SSH Access to Sub Domain on MediaTemple.net

I created a GIT Repository on one of my servers at MediaTemple.net the one I'm using is a (gs) Server. The repo was created on a subdomain (git.example.com) I then created two user accounts with SSH ...
3
votes
1answer
1k views

How can I install the current stable version of Git on CentOS?

I'm interested in installing Git on a CentOS Linux 5.4 host. The installation instructions in the Pro Git book online offer two avenues: installing from source or using the host's package management ...
0
votes
2answers
683 views

Point apache to NAS folder?

I have a NAS on which I have a RAID 10 array that I use as my GIT repository, I like my clients to have access to the site's builds right down to the latest commit. My plan is like so: ____________ ...
0
votes
2answers
888 views

Git daemon doesn't work properly when run from xinetd

I'm trying to set up a git public repository for my team. I have installed Git on a linux box (RedHat 5.6). As a first step, i'm trying to configure Git to use the git protocol, by setting it up to ...
3
votes
1answer
103 views

Two asterisks in filename **/*

What does a file name like some_directory/**/* mean? It's a part of git's .gitignore file.
2
votes
1answer
332 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 ...
0
votes
1answer
174 views

Gitosis & an existing repository

I've successfully installed Gitosis. I added a repositories to it. However the Gitosis docs are very sparse, so I have a question: I've got a working copy of some repository on the same machine where ...
1
vote
2answers
489 views

Sudoers config to allow arguments for git post-commit script

We have a git post-commit script that needs to be run with Git and Trac, when someone commits something a hook is a called that runs the command: trac-admin /path/to/trac changeset added "reponame" ...
0
votes
1answer
98 views

VCS System that preserves Unix file permissions?

I'm looking for a simple revision control system for server configs. Something like works like git, but preserves Unix file permissions. And is NOT RCS. Any tips? Thanks!
1
vote
1answer
579 views

Version-control of configuration files with different home names?

I have recently decided to use a version-control system to share my configuration files between my different linux installs. After reading another thread I found on this subject, I'm planning to do ...
3
votes
3answers
330 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 ...
0
votes
4answers
179 views

Git not found by yum..installed from source but git still not recognized

I have a Centos server that I tried to yum install git and git-core and all that and I just consistently got the error message that the git package wasn't found. So I installed it from source ...