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
8
votes
7 answers

Version Controlling Foreman & Puppet

I have just setup Foreman for the first time & am not sure how to go about putting all of my configurations under version control. I know I can use Git for each module I install on my Puppet master but would prefer a more holistic solution that…
GeneBean
  • 323
  • 1
  • 4
  • 11
8
votes
2 answers

Is it safe to use git with multiple users when the repository is on a windows file share?

We are a team of less than ten persons that need to quickly set up a git repository that supports active directory based authentication. The simplest solution seems to be to use a file share with a git repository and reaching it using a unc path,…
Klas Mellbourn
  • 357
  • 1
  • 5
  • 10
8
votes
2 answers

Cron job checking for changes in Git repository

We have just moved our server configs to a Git repository. Therefore there should not be any changes in any of the repository folders. I was thinking about how I could set up a cron job to check for any uncommited changes. How could a cron job be…
HNygard
  • 183
  • 1
  • 7
8
votes
5 answers

Hosting multiple repositories (svn, hg, git)

I've recently acquired a dedicated server, and need to move several repositories to it from a source control hosting service. Having not much experience in server administration however I have no clue how to effectively organize it. What I seek…
8
votes
2 answers

Local SVN repository to git

I am in the need of converting a local SVN repository to GIT. I know how to convert a remote SVN repository to git, however, I only have the local repositories; they are no longer hosted. How would I go about converting a local SVN repo to…
drewrockshard
  • 1,763
  • 4
  • 20
  • 27
8
votes
11 answers

Git and Mercurial

I would like to know: What's the difference between Git and Mercurial? What are the pros and cons of using them? How good is the Windows support for both tools?
Michael Ellick Ang
  • 2,039
  • 3
  • 14
  • 15
7
votes
9 answers

Which Version Control Systems support LDAP/AD users and groups

Does anyone know which of the big players (if any) support LDAP/AD users and groups for authentication AND database permissions? Specifically, I'm wondering if SVN, GIT, Mercurial etc. will allow users to login/connect based on AD permissions and…
Jason Irwin
  • 173
  • 1
  • 4
7
votes
1 answer

Jenkins User Credentials Not Showing In Project

So I have Jenkins-CI running with the plugins: Credentials Credentials Binding Git First what I did in order to authenticate Git with the remote repository, is I added credentials to the server to the Global scope with no domain. However, this…
Qyriad
  • 71
  • 1
  • 3
7
votes
2 answers

Elastic beanstalk access private git repo

I am trying to currently add an ssh key to my elastic beanstalk instances using .ebextensions commands. The keys I have stored are in my application code and I try to copy them to the root .ssh folder so I can access them when doing a git+ssh clone…
user221676
  • 71
  • 1
  • 3
7
votes
1 answer

Unknown option git config --local reported by Jenkins

I asked the same question on stack overflow but I only got 5 views, I think this is a better forum for this question. I'm setting up CI for a C# project hosted on github in a private repo. Git is installed on master CentOS machine, MSBuild on slave…
user3043457
  • 173
  • 1
  • 3
7
votes
5 answers

DRBD vs. GlusterFS for replication

I need to build a solution to host internal git repositories. It needs to supports hundreds of thousands (or more) repositories. I plan on using multiple "dumb" servers with a shared storage, so basically when a client is trying to access a…
Gilad Novik
  • 307
  • 2
  • 3
  • 10
7
votes
3 answers

Executing a git command using remote powershell results in a NativeCommmandError

I am getting an error while executing a remote PowerShell script. From my local machine I am running a PowerShell script that uses Invoke-Command to cd into a directory on a remote Amazon Windows Server instance, and a subsequent Invoke-Command to…
user204777
  • 71
  • 1
  • 1
  • 3
7
votes
6 answers

25 Sidekiq processes for Gitlab

Looking at htop output on my server I see 25 sidekiq processes spawned by Gitlab. I use Gitlab privately, so there is never going to be any load, so I doubt all of those processes are required, but I cannot see how to configure their number. Is…
7
votes
3 answers

Amazon Elastic Beanstalk + Git Submodules

I'm using Amazon's Elastic Beanstalk to deploy my app via Git, and I've got submodules within my Git. Of course, when I look at the directories where the data for the submodules should be, nothing is there because the submodules have not been…
iLoch
  • 201
  • 1
  • 3
7
votes
1 answer

Multi-server Deployment strategies - Git on production servers?

Main question: Is deployment using Git on production servers a good strategy? Many, many deployment strategies I see revolve around having Git on your servers (dev, staging and production). The merits of this seem obvious for deployment to…
fideloper
  • 353
  • 3
  • 11