Questions tagged [git]

Git is a distributed source control system.

Filter by
Sorted by
Tagged with
2 votes
3 answers
2k views

Add entire 300 GB filesystem to Git Annex repository?

By default, I get an error that I have too many open files from the process. If I lift the limit manually, I get an error that I'm out of memory. For whatever reason, it seems that Git Annex in its ...
Ryan Lester's user avatar
5 votes
1 answer
124 views

Compliance in DVCS administration at an enterprise context, what to expect from a transition from a CVCS (Perforce)?

I work in a big multinational company as a software engineer and I'm currently holding a very nice conversation with IT and other developers with regards to adopting a DVCS (Mercurial and/or Git). ...
dukeofgaming's user avatar
1 vote
1 answer
485 views

Gitolite SSH URL Format

So I got gitolite set up. Simple. But there is one issue I am having. The SSH urls follow the format of git@host:repo. I'm used to Bitbucket / Github where the urls follow the format of git@host:user/...
knpwrs's user avatar
  • 409
4 votes
2 answers
5k views

Moving Gitlab and Gitolite server to another machine

Now, I have gitlab and gitolite running on my ubuntu server. However, this server is too slow and my company wish to move the server to another machine. Are there any way to move gitlab and gitolite ...
Sam Mie's user avatar
  • 49
1 vote
1 answer
1k views

CentOs 6.3 can't install Git

I am trying to install git on an OpenVZ container using the CentOs 6.3 precreated template. When I try the command line yum install git I get the message: Loaded plugins: fastestmirror Loading ...
drivard's user avatar
  • 407
1 vote
0 answers
204 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 ...
Thanos Makris's user avatar
5 votes
1 answer
2k views

How to SSH gate forwarding git user to gitserver?

Im trying to set up ssh/git access through a ssh gate but googleing has come up empty. Basically I want any connection to my ssh gate from the user git to be forwarded to my ssh server so that pushes ...
Johan's user avatar
  • 51
0 votes
1 answer
955 views

What unblocked ports are necessary for github to work? [closed]

My work has blocked github. Attempting to pull from a github repo produces this message: ssh: connect to host github.com port 22: Operation timed out Does this mean only port 22 needs to be ...
kyothine's user avatar
7 votes
2 answers
2k views

How to put FreeBSD configuration under Revision Control?

I heard once that in Linux it's possible to put whole /etc/ directory into repository. In fact i already done too much crap on server and I quite disoriented what exactly is setup in there at all. ...
holms's user avatar
  • 1,584
1 vote
0 answers
873 views

Apache ScriptAlias and access error?

First of all after much pain i figured out how to make it work in Apache 2.4 windowz. Here is my configuration that seems to work successfully for git clone and push and everything. Problem First of ...
GorillaApe's user avatar
  • 1,379
4 votes
1 answer
546 views

AD GIT SELinux RHEL 6 : Can not get SELinux to allow connetion to git

I have a problem with SELinux! I have installed git on Red Hat Enterprise 6 with AD group control and SSL Cert . Everything works fine if I do setenforce 0 ( set SELinux in detection only mode ) or ...
Johan Sörell's user avatar
1 vote
0 answers
1k views

Gitlab workflow and configuration for users

Context / Information I installed gitlab on ubuntu 12.04 as described on this official page: https://github.com/gitlabhq/gitlabhq/blob/stable/doc/installation.md After I installed, I was able to ...
rsavu's user avatar
  • 121
3 votes
1 answer
3k views

How to globally limit memory usage of git

I have a Virtual Private Server where all my products' git repositories are. The problem is that while I fetch from it, the VPS dies out of memory. So I have to limit the memory usage. I know how to ...
Sam Kong's user avatar
  • 933
1 vote
1 answer
89 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 ...
Sven Jung's user avatar
  • 179
4 votes
2 answers
7k views

GitLab post-receive hook not firing

Apologies if this isn't the right stackexchange. I have a GitLab install. It was installed over the top of a gitolite install that was only a few days old, and I assume this non-standard setup is at ...
Ben Graham's user avatar
12 votes
2 answers
51k views

How can I install git on RHEL 6?

I'm trying to install Git on a RHEL6 development server, I have experience with Ubuntu but this is my first time working with RHEL (I'm a developer trying to fill in for a recently departed Linux ...
JR.Xyza's user avatar
  • 135
15 votes
1 answer
9k views

Automatically sign all commits with git [closed]

With git 1.7.9, it's possible to sign a commit with the -S option. Is it possible to set it default through git config --global? So instead of git commit -S -m 'Commit message', it would be just git ...
tamasd's user avatar
  • 253
4 votes
2 answers
3k views

Error authenticating git repository with Redmine

I've setup Redmine 2.1 on my Debian Squeeze server following this Tutorial HowTo configure Redmine for advanced git integration (I tried to use the grack path). Redmine server is running properly, but ...
dwonisch's user avatar
78 votes
11 answers
61k 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 ?
Samuel Rossille's user avatar
1 vote
1 answer
1k views

Git apache : unable to push via http [closed]

I have to setup a server which can allow http vcs management (such as git and svn). svn support works well, but I have some trouble with git. Actual configuration: CentOS 5 Apache 2.2.8 Git 1.7.4.1 ...
GlinesMome's user avatar
1 vote
2 answers
2k views

Gitolite and Gitlab - How the `www-data` user can checkout?

I have just installed Gitolite and Gitlab and I am very happy with it. Everything works fine so far. I can create repos, push to them, clone them on other clients on the network. Great! But now I ...
mblaettermann's user avatar
28 votes
2 answers
24k views

What are the pros and cons of SSH and HTTP for a git server?

I want to setup a git server. I have found several how-to's, well detailed. Some describe the installation for a git-server accessible thru Ssh, while others, accessible thru HTTP. ( Others even ...
Stephane Rolland's user avatar
1 vote
1 answer
46 views

change gitolite from manual installation to package

I want to change my manually installed gitolite to the package installation, because it's easier to updates. How can I do that, without loosing my repositories? / How can I backup my repositories, ...
sbo's user avatar
  • 143
3 votes
2 answers
330 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 ...
Sven Jung's user avatar
  • 179
2 votes
2 answers
1k views

Git branch and subdomain

Well, this is an idea that came to my mind a couple days ago and I could figured out how to do it (and even if it would be possible). My idea would displaying a different branch when you access the ...
Axiol's user avatar
  • 173
11 votes
3 answers
11k 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 ...
Jessie's user avatar
  • 213
3 votes
1 answer
3k views

Missing Dependency: perl(YAML::Any)

I have a problem with git, when I run yum upgrade on a centos5 server. yum upgrade output: Resolving Dependencies --> Running transaction check ---> Package git.x86_64 0:1.7.11.3-1.el5.rf set ...
sbo's user avatar
  • 143
-1 votes
1 answer
687 views

how to set up a git repository which can be accessed by network in ubuntu 12.10

Now we want to set up a private git repository in the ubuntu 12.10,then other developments can access it through the local network. Now I just can create a repository use git init,for example: cd ...
hguser's user avatar
  • 103
0 votes
1 answer
1k 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 ...
Eran Medan's user avatar
4 votes
2 answers
3k views

Error 403 when git push (multiple github accounts on the same mac)

I have two GitHub accounts on the same Mac. And have credential-osxkeychain installed. It works fine with my first GitHub account. But, how can I add the second account into the keychain access? If ...
user1597243's user avatar
1 vote
2 answers
4k views

git on solaris 10

I would like to install git on a solaris 10 sparc 64 bit machine. Is there a trustworthy repository for solaris packages (like git)? I would like a binary package. sunfreeware seems to cost money ...
mirk's user avatar
  • 113
1 vote
2 answers
3k views

Git and Amazon EC2 public key denied

I had git working before on /var/html/projectfolder and realized it was a security risk so I made a new folder /projects from the root folder and tried to replicate what I did and now it doesnt work. ...
user avatar
1 vote
1 answer
125 views

how can I git-revise configs in my /etc/ dir? (sudo has different keys..)

I'd like to keep some of the folders in my /etc/ dir git-revised, cause I'm quite new to server administration and am constantly messing around in my /etc/nginx/ and /etc/bind/ directories. I've ...
Dean Rather's user avatar
  • 1,101
3 votes
3 answers
2k views

How can I version control server configuration files that are changed at application runtime, using git or another VCS?

I'm running a Minecraft server (craftbukkit) and I have several other admins who want access to modifying server configuration files. It is important that I track all their changes, so naturally, git ...
Lucas Christian's user avatar
1 vote
4 answers
353 views

Reimport ssh certificate after every reboot for GIT PUSH over ssh to work

I am using OSX 10.8 on my macbook air, i have git configured to push my repository to an EC2 instance via ssh. Everything works fine with that. The only issue is that after every reboot, I have to ...
gsueagle2008's user avatar
5 votes
3 answers
2k views

Redmine 2.x with gitolite integration [closed]

Has someone here correctly configured Redmine 2.x (I'm using Redmine 2.0.3) with gitolite? If yes, how?
boos's user avatar
  • 651
2 votes
3 answers
3k views

Configuring ssh not to prompt for password

I have git successfully installed on one of our Red Hat Linux 5 WS servers, and am using it on our Intranet, not outside our firewall. Currently, I am prompted for a password when I connect, so what ...
octopusgrabbus's user avatar
0 votes
1 answer
2k 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 ...
MicTech's user avatar
  • 117
5 votes
3 answers
9k views

Migrate multiple svn repositories into single git repository

We want to migrate from svn to git permanently to be able to use git's better features in terms of branching and collaboration. Our current svn repository looks like this svnrepo/ frontend/ ...
Shyru's user avatar
  • 53
2 votes
1 answer
714 views

Missing repos in gitweb

Something crazy is happening to me. If you visit http://git.jshawl.com/, you'll see a single repo "testing.git", though if you click on "TXT" in the lower right corner, you can see another repo that ...
jshawl's user avatar
  • 297
2 votes
2 answers
2k views

Gitweb document root with gitolite

I'm on Mac OsX, trying to host my own git server. I've got gitolite running perfectly. However, I have a folder called "git" in my Sites directory, such that visiting http://git.example.com points ...
jshawl's user avatar
  • 297
0 votes
2 answers
105 views

Remote host making strange request. Am I safe?

I am starting work for an organization on their server. They need to allow connections from my server in order to use GIT over SSH. They asked me to place this in my SSH directory: SHORTNAME=abcdef ...
Michael Ecklund's user avatar
0 votes
1 answer
650 views

Trac + git + post-receive hooks -> Git user cant call trac-admin correctly

after some time I finally made the trac connect with git, but now I'm having problem setting the post-receive hook. My git user is part of www-data group, and www-data also parta of git group. But ...
Arruda's user avatar
  • 101
-2 votes
1 answer
603 views

logged in as root, make all files in /home/user chown to user when git pull

I like to stay logged into my (Ubuntu) VPS as root. Now I am running into issues when I git pull into my wordpress directory at /home/user . All new files will have user and group assigned as "root", ...
petergus's user avatar
  • 121
5 votes
1 answer
2k views

Use Git hooks to auto format code after pull requests or commits or pushes/pulls?

Lets say you have a Git repository, like on GitHub, and you have a lot of people contributing to the repository. Everyone uses their own standards for coding, so the code ends up being a mess without ...
Jake Wilson's user avatar
  • 8,924
4 votes
1 answer
1k views

Using nginx and Drupal, how do I serve a 404 error for static files and directories that exist?

I deploy a Drupal web site using git (well, OK, the developers deploy it; I try to keep them out of trouble), and for that reason the site has a directory .git and a file .gitignore in the document ...
Michael Hampton's user avatar
0 votes
1 answer
354 views

Sharing git repo on DreamHost

I have a git repo on DreamHost that I would like to be able to share with other developers. I am only able to create it in my home directory. How do I get it so that other devs can access it via ssh?...
CaseyB's user avatar
  • 103
5 votes
1 answer
279 views

GPG verifying git tags in a deployment script

We would like our deployment process to pull directly from our git repository, but only activate new changes if they are signed (via git tag -s) with a GPG signature. I've found very few examples out ...
larsks's user avatar
  • 44.7k
4 votes
1 answer
504 views

Apache not calling the Smart HTTP CGI

I'm setting up a git server with git-http-backend and Smart HTTP but Apache doesn't seem to be calling the Smart HTTP CGI: $ curl http://localhost/repo/myproject.git/info/refs?service=git-receive-...
Bo A's user avatar
  • 153
1 vote
1 answer
3k views

MKCOL 405 and LOCK 500 on git push (error: cannot lock existing info/refs)

I'm having some troubles setting up a Git server with apache. Here is my gitrepo.conf: DavLockDB "opt/local/apache2/var/DavLock" <Directory /opt/local/apache2/htdocs/repo> DAV On Deny ...
Bo A's user avatar
  • 153

1
12 13
14
15 16
23