Questions tagged [git]

Git is a distributed source control system.

Git is a source control system that allows for many people to work on the same project simultaneously. It is distributed, makes it possible for many different branches of the same project to co-exist at the same time, and offers many other advanced features.

Git was originally authored by Linus Torvalds, the creator of the Linux kernel, and the official Git homepage is at git-scm.com

For git quick guide, see gitready.com. More information, see wikipedia

1127 questions
-2
votes
2 answers

Simplest way to jail users for git

I'd like to create a couple user accounts on my server such that the users can check out a specific git repository. Ideally, the user would not be able to gain access to a shell or copy any files other than the git repo. And ideally this doesn't…
notlesh
  • 125
  • 2
  • 8
-2
votes
1 answer

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", but it will not work in wordpress unless they are…
petergus
  • 121
  • 4
-2
votes
2 answers

How to setup a Development Server, Git Server, Web Server?

We have 3 Ubuntu boxes - development server, git server and a webserver and work from a windows xp machine. Is it possible to work on the development server, stage and manage files to push/pull from the git server, then deploy to the webserver once…
Jenski
  • 145
  • 3
  • 8
-2
votes
1 answer

GIT ubuntu 12.04

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 also welcome? Thanks
Grimlockz
  • 325
  • 1
  • 2
  • 11
-2
votes
2 answers

How do I manage ssh keys for multi-user machines?

I've got a situation where 40 users are going to come in and use fresh machines to work on git repos and push them to github. I'm trying to think of the simplest way to handle ssh keys. I see the ideal situation is that every user has their own…
lobati
  • 111
  • 3
-3
votes
1 answer

How to install git on RHEL6.7

I'm trying to install Git on a RHEL6.7 distributor ID:Santiago development server, But after using yum install git, it is showing error Error Downloading Packages: 1:perl-Error-0.17015-4.el6.noarch: failure: Packages/perl-Error-0.17015-4.el6. …
Fawwad
  • 95
-3
votes
2 answers

Convert SVN repository to git

$ svn --version svn, version 1.8.9 (r1591380) $ git --version git version 1.7.1 $ git svn clone http://host/path/to/project/ Initialized empty Git repository in /home/user/to/project/.git/ Can't load…
jsf80238
  • 127
  • 5
-3
votes
1 answer

Does Git has built-in SSH server?

I'm trying to setup Git's remote SSH server to access this using SSH, but I haven't found any info how to make this. So, does Git has built-in SSH tools to establish such connection to use this "right from box"? Or there it's not and I should to…
WildDev
  • 167
  • 8
-3
votes
1 answer

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: remote: error: GH001: Large files detected. remote:…
user1804933
  • 111
  • 1
-3
votes
1 answer

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 development cloud instance e.g. Amazon EC2 and allow them…
user1843591
  • 157
  • 2
  • 9
-3
votes
1 answer

Unable to do a git pull - related to upgrade from Ubuntu 11.10 to 12.04?

Everytime I execute git pull origin master on my laptop, I get an error. This does not happen on any of my other computers or linux servers. The only difference with my laptop is that I recently upgraded from ubuntu 11.10 to 12.04. Here are my…
John
  • 7,343
  • 23
  • 63
  • 87
-4
votes
1 answer

Git corrupting Hyper-V VHDX

Hi I have created some Hyper-V machines (2 Ubuntu and one windows), exported them, and added them to a remote git repository. When I clone the repo on another machine, I can import and run the Linux VMs fine, but the windows machine will not run,…
Mark Jones
  • 115
  • 6
-4
votes
1 answer

etckeeper user and system diffs

I'm looking for a way to keep user and system-made changes to /etc using etckeeper seperate automatically. Basically different commits for user and system. I'm sure many other sysadmins could benefit from this too. To clarify, each server has…
jiriki
  • 1
  • 1
-5
votes
1 answer

Backup of images

I've just installed a Ubuntu for a file server. It will share a folder (samba) and employees of my company will save photos on that. Currently the total amount of the photos is about 100GB and every day 20MB will be added. My question is about…
Sam Kong
  • 883
  • 1
  • 8
  • 10
-6
votes
1 answer

How to install git-daemon on red hat enterprise 6

I need to install git-daemon on Red Hat enterprise Linux 6.2, with http support. What are the correct package to install? It is necessary to create a specific user or group? I'm looking for a simple solution with yum perhaps I already checked this…
kaserrety
  • 11
  • 1
1 2 3
75
76