0
votes
1answer
64 views

Redhat OpenShift - Connection refused fatal: The remote end hung up unexpectedly

I'm trying to start using Redhat OpenShift with a JBoss 7 Server Cartridge, but as I'm trying to do a git clone I get: $ git clone ...
0
votes
0answers
18 views

set group ownership after git deploy

I'm running Centos7 and have a git reset --hard + git pull running as user A. The git reset --hard is triggered on the server by logging into the server through SSH as user A and issuing the git ...
0
votes
0answers
39 views

Allow a user to access a single Git repository

Consider a server that hosts several Git repositories: $ ls -l /opt/git/ drwxrwxr-x 7 ubuntu root 4096 Jan 2 2014 george.git drwxrwxr-x 7 ubuntu root 4096 Dec 29 2013 john.git drwxrwsr-x 7 ...
0
votes
1answer
43 views

Management of system directory in linux using git

I'm using puppet to manage my linux systems. I have to use /etc/puppet directory to keep manifest files instead of user home directory, and I want to manage them by git. But because /etc/puppet's ...
0
votes
2answers
52 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 ...
0
votes
1answer
73 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 ...
0
votes
1answer
1k views

Git post-commit /post-receive hook not working

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 ...
1
vote
0answers
53 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
444 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
63 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
121 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
155 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
350 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
102 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
68 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
102 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
112 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
139 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
165 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
564 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
269 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
302 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
223 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
134 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
372 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
67 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 ...
13
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 ?
3
votes
2answers
234 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 ...
4
votes
3answers
2k 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
286 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
530 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
648 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
270 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
457 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
439 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
1k 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
142 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
158 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
287 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
2k 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
111 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
306 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
1k 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
236 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
709 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
1k 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
135 views

Two asterisks in filename **/*

What does a file name like some_directory/**/* mean? It's a part of git's .gitignore file.