Git is a distributed source control system.

learn more… | top users | synonyms

0
votes
0answers
22 views

Git over SSH: Setting a base path?

I have Git running over SSH ON CentOS 6.4. The user name that Git is running as is git and the home directory is /home/git. My Git repositories live in /srv/git. When I clone a repository, I have to ...
0
votes
0answers
20 views

Speeding up permission changes on git post-update hook

A month ago, based my question Git prime/hub website deployment: documentroot changes save fine but permission denied for subdirectories, I received some great help from dawud for setting up a ...
-1
votes
0answers
17 views

Gitweb Auth using Apache on Freebsd [closed]

I'm having trouble trying to set up gitweb so that a private project repository may be accessed through the browser, requiring a simple user/pass for the process. My vhost conf is as follows ...
-2
votes
0answers
32 views

Understanding branches in git [closed]

I just created a branch of my master. *master testing I switched over to the branch with 'git checkout testing' master *testing I've added directories and files to the testing branch. I did a: ...
-2
votes
1answer
16 views

Making copies of existing git repositories [closed]

I'm a developer that did a 'git clone' of a repository that is now sitting on my local machine. What I would like to do is make a copy of the repository, rename it, and make the renamed repository the ...
0
votes
1answer
11 views

Why is there no git repository after installing etckeeper?

I installed etckeeper on my ubuntu 11.10 server, and after creating the etckeeper repository with: etckeeper init etckeeper commit "Initial version" I got the error: bzr: ERROR: No changes to ...
-2
votes
0answers
20 views

What is the best way to backup and restore gitlab?

What is the best way to backup and restore gitlab incuding all repositories, commit comments, wall comments, wiki etc.
-1
votes
0answers
17 views

Detaching part of a git repository into a local one [closed]

We have a shared git repository, and a "tools" subdirectory in it where I versioned some software. I'd like to take the contents of that directory out of that repository and into a local one, keeping ...
0
votes
3answers
29 views

Puppet include/require a puppet lab's module

How do you create a puppet manifest that 'uses' one of the modules on the puppet forge? class foo { include puppetlabs-git (<- this doesn't work) ...
1
vote
1answer
36 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, ...
0
votes
2answers
35 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
32 views

How to drop old commits in git

Sometimes bad people push file in a SCM that have nothing to do here: Test reports Compiled file Other SCM file Cache So git repositories (works also with SVN) can become fat, very fat. How can we ...
0
votes
0answers
24 views

Achieving nice short urls for git repos [closed]

I am hosting git repositories on a server (Ubuntu). My preferred protocol is ssh, and my preferred authentication is system users using ssh. My reasons for this are because it keeps just one list of ...
0
votes
1answer
28 views

Executing cURL upon Git Push

I'm very new to running a Git server, and I needed to trigger a Jenkins build upon pushing to Git. A tutorial says to do this command: curl http://[jenkins]/git/notifyCommit?url=[job] but it ...
1
vote
1answer
53 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 ...
-1
votes
2answers
50 views

Use version control for a live website [closed]

I have a live website hosted in a linux shared godaddy account. I want to start using Version Control. I also have a easyPHP localhost in my windows, where I do my development and testing. I am ...
0
votes
0answers
29 views

Can't push to Git remote on my CentOS server: /usr/bin/git-receive-pack: No such file or directory

I'm trying to set up Git deployment to my CentOS 6.4 server on DigitalOcean. Here's my git config on my dev machine: [remote "live"] url = [my url] fetch = +refs/heads/*:refs/remotes/live/* ...
1
vote
0answers
54 views

TeamCity: 'git fetch' command failed. stderr: Socket Closed

We have been working for years with TeamCity and for several weeks with git as version control system. I have set up integration with TeamCity and that has been working fine. We have four different ...
1
vote
1answer
45 views

SSH tunnel to allow ssh traffic: connection always refused

I have access to two servers at work. Server A hosts git repositories and is externally visible. I would like to be able to clone a repository into Server B which is hosted on Server A. Currently, I ...
0
votes
1answer
30 views

Is it possible Cloneing git over SSH with full path to the repo?

I use satis to generate my private list of packages for composer. Unfortunately, satis refuses to accept ssh://user@myserv.com:port/MyRepoName.git syntax. The only syntax it accepts is ...
0
votes
0answers
21 views

github push -> redmine issue duplicate comments

I've successfully connected github to redmine and whenever someone puts an issue reference in a commit message and pushes it to github, a comment is added to the redmine issue referring back to the ...
1
vote
1answer
30 views

Managing patches to configuration files

I use a configuration management system and, as I believe is common, my CM software simply copy-pastes configuration files to deploy them to my Linux servers, blindly clobbering whatever's there. But ...
0
votes
1answer
47 views

Git prime/hub website deployment: documentroot changes save fine but permission denied for subdirectories

Following the instructions in A web-focused Git workflow I set up a prime and hub repository on my web server and then cloned the hub to my machine at home. I started testing commits and pushes with ...
0
votes
2answers
34 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' ...
0
votes
1answer
29 views

Structure for Version Control system - configuration and scripts

We are planning to introduce version control for our servers team so we can keep our config files and code neat. The server base are mostly Windows with some Linux and spread across several ...
-1
votes
1answer
25 views

untracked files 'git status -s' output changes ?? into rc when run in a subshell [closed]

I'm looking to get a single line listing of all the unchecked-in changes from a git repository (in this case, /etc being managed by etckeeper/git). git status -s produces a nice short list of ...
0
votes
1answer
34 views

git-http-backend, ro for all, write requiring password? (with lighttpd)

I'd like to offer up read-only access to my GIT repos for everyone (i.e. no username/password required), but require authentication for writing. The git-http-backend man page suggests this is ...
0
votes
1answer
36 views

Which Git web interface supports bare repositories [closed]

In general, question is specified in the header. I'm viewing some from this link: https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools#Web_Interfaces . Which of them supports bare repos? ...
0
votes
1answer
45 views

Automate git-pull, stuck with keychain

I'd like to create a cronjob to automatically run a git-pull every minute. The problem is that my repo is private, I had to create keys on my system (Ubuntu Server 12.04). I installed keychain and ...
1
vote
2answers
107 views

etckeeper pushing to github

I set up etckeeper and added the file /etc/etckeeper/commit.d/60github-push in order to push the commit to github. [orschiro@thinkpad etc]$ sudo cat /etc/etckeeper/commit.d/60github-push #!/bin/sh ...
0
votes
0answers
18 views

User info from credentials [closed]

Is it possible in a shared repository via git-http-backend/Apache/Ldap to have the commiter info set from the ldap authentification and not from what the user set up locally via the user.email and ...
1
vote
1answer
46 views

How to setup Git Linux server for Windows domain clients via SSH?

Is this combination possible? Server: Git on Linux Clients: Windows Authentication: Windows domain credentials Transport protocol: SSH If yes how would this be accomplished?
3
votes
1answer
105 views

Git clone from Windows to Windows cannot find the repository

git clone gituser@<server>:myRepo.git doesn't work, fails with the error message: fatal: ''myRepo.git'' does not appear to be a git repository Background: We have a Windows 7 machine set up ...
0
votes
1answer
43 views

How can I configure git to reject large files?

For the 3rd time a developer committed a large file in our git repository (over 100MB). It's really a pain to cleanup. How can I configure git and/or gitolite to prevent large files from ever being ...
0
votes
1answer
325 views

Trying to clone a bare git repo: Could not read from remote repository

I set up a git user on my Mac OS 10.7 system. In the root, there's a /repositories/test.git repo. When trying to clone it with git clone git@server:repositories/test.git it fails me with: bash: ...
-1
votes
1answer
22 views

give users permission to host on my server using git [closed]

I want to let untrusted users get permission to deploy static html pages to a sand boxed environment on my server. Each "sandbox" have a limited size (0.25GB). Me as an administrator need to be able ...
-1
votes
1answer
98 views

Git 1.8.2 source (from master branch) fails to build, can't find “dl” library symbols [closed]

# Compiling git 1.8.2 source from master branch sources. $ make configure $ LIBS="-ldl" LDFLAGS="-L/sandbox/builds/lib -L/sandbox/builds/ssl" CPPFLAGS="-I/sandbox/builds/include ...
0
votes
1answer
78 views

sudoers nopasswd switch user and run node not working

I'm trying to prevent a password prompt on a command that runs node as the www user by adding the following line to the bottom of my /etc/sudoers file: gituser ALL=(ALL) NOPASSWD: /usr/bin/sudo -u ...
-5
votes
1answer
64 views

How do I install/configure/operate a Git Server on Server Core 2012 [closed]

Basically the title is my question but if you could direct me to some articles or other sources on how to install and configure it then it would be highly appreciated.
0
votes
1answer
191 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
1answer
48 views

git push origin master result : REJECTED_OTHER_REASON

I've made a personal repository on my server. I can clone it. I've get errors on push refusing update .... ... 'receive.denyCurrentBranch' configuration variable to 'refuse'. ... ...
0
votes
0answers
28 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 ...
0
votes
1answer
30 views

Why all git heads are not shown on gitweb?

When I running following command, its showing me three git branches me@myhost:~/myrepo$ git branch * master new_branch third However the gitweb is showing only two branches. Only master and ...
2
votes
1answer
61 views

Alternative to Samba with AMP 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
2answers
67 views

Revision control of sensitive configuration files

Consider a file with user-read-only permissions, for example ... -r--------+ admin secrets.txt How can such a file be put under revision control, so that its contents remain secret, even from the ...
0
votes
1answer
149 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 ...
0
votes
1answer
168 views

SSH to bitbucket returing Permission Denied (publickey)

So I am trying to clone a repo to a directory on my Ubuntu server but I keep getting a Permission Denied (publickey) error. This is very weird because my output for ssh -T git@bitbucket.org shows ...
0
votes
0answers
146 views

how to make git smart http transport work on nginx?

I've tried this in many different ways. Here is probably the best configuration I've managed to come up with. nginx: server { server_name git.x-yuri.pp.ua; access_log ...
0
votes
1answer
82 views

Kerberos authentication for Git server?

I have a Git server, and I want to make it usable by all Kerberos-logged users. eg: if a user has a valid Kerberos ticket, she can start pushing to Git without having to provide any ...
2
votes
2answers
106 views

GIT SVN with subgit and apache

I've started evaluating a piece of software called subgit which seamlessly allows you to interface a repo with either SVN or GIT. Throughout our organization we interface our repos using apache, and ...

1 2 3 4 5 13