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
0
votes
2 answers

ssh -A still not allowing git pull

We have a setup where our git server needs the publickeys to authenticate in order to push or pull. I am trying to do so on one of our servers and can't figure out why it isn't working. I have searched and searched and everything I have found says…
0
votes
1 answer

Rackspace yum install git cURL 443 Connection refused

Trying to install git in a RHEL Rackspace Dedicated Server, but am getting the following after typing in this command: yum install git Curl error (7): Couldn't connect to server…
Solomon Closson
  • 163
  • 1
  • 6
0
votes
0 answers

GIT-SCM bash.exe doesn't work from "Enter-PSSession -Computer myServer"?

Let's suppose I download and install Git-SCM on a remote windows 10 computer using this installer: https://github.com/git-for-windows/git/releases/download/v2.33.1.windows.1/PortableGit-2.33.1-64-bit.7z.exe I unzip this exe installation file to the…
pico
  • 111
  • 4
0
votes
1 answer

SELinux Issue - git status fatal: Out of memory? mmap failed: Permission denied

I have Centos 7.9 server running with Apache and Git, however if I do a [root@a]# git status fatal: Out of memory? mmap failed: Permission denied But if Disable or Permissive the SE-Linux via below commands it start working fine. setenforce…
mahen3d
  • 4,342
  • 14
  • 36
  • 57
0
votes
1 answer

Forward local ssh key to remote host

I'm using ansible and i'm wondering. Is it possible to rewrite a local ssh key to a remote machine? I need to clone a repository using my private key on a remote machine. I cannot add the key from the machine in this case )this key will vary…
onev
  • 1
  • 1
0
votes
1 answer

Gitea offers wrong SSH key

I'm running Gitea on a virtual machine that is publicly accessible under gitea.myorg.foo. Here's the server part relevant to my SSH configuration of my configuration file: [server] …
0
votes
1 answer

How to remove git from a specific folder?

I have a CentOS 7 system. It has git 2.27.0 installed, but that install, for reasons we can't figure out, won't talk to our https gitlab instance. It keeps failing on "unable to find remote helper for 'https'". So, I attempted to upgrade git,…
0
votes
1 answer

Can Ansible git-module install the latest tag from a repo?

I want to install recent, but not the HEAD. Instead, I'd like to install the most-recent tag of a remote repository -- on the assumption, that this is, what the maintainers consider a "release". Can the git-module do that? The methods of figuring…
Mikhail T.
  • 2,338
  • 1
  • 24
  • 55
0
votes
1 answer

Is a git repo as html content safe?

I've been searching with a couple different terms but didn't find exactly what I was looking for. I got the idea to start a blog with a flat file CMS. It would be handy to have the pages in a git repository, so I can easily update the blog from…
dscham
  • 111
  • 3
0
votes
1 answer

How to configure Windows 2012 Server to receive GIT pushes

I'm new on GIT, and I would like to configure a Windows 2012 Server to be a GIT repository (--bare) so the developers can clone and push updates to this server. I can't find any documentation to learn how to configure SSH or other protocol on the…
0
votes
1 answer

What is a good way to keep multiple directories' contents synced with releases from a GitHub repo?

I work for a company that maintains lots of custom WordPress plugins and themes for our network of myriad WordPress sites. The repo managers have it set up so that webhooks are added to the repos and push releases out the main server hosting the…
user3183717
  • 101
  • 2
0
votes
0 answers

Performing a Git Pull With Truncated History?

On my production server I have a deploy script to do a git pull origin master among other deployment tasks when it receives a github webhook saying there's a new push to master. It works, but it keeps the full history which is just a waste of drive…
user621861
0
votes
0 answers

Sonatype Nexus doesn't update single git submodule

I have this setup: -a git repository called MyRepo. This repo has 5 submodules (A,B,C,D,E) -a Jenkins instance that auto-builds MyRepo. On post-build steps there's a simple script that executes: #!/bin/bash branch=$1 docker build -t…
glass
  • 1
  • 1
0
votes
0 answers

Authorizing a webhook service for git pull

I have a Webhook (https://github.com/adnanh/webhook) configured as a service. When triggered it runs a bash script with does a few commands including a Git Pull. I have configured my Ubuntu 20.04 system with a Git SSH key and when I am connected git…
nextgenneo
  • 233
  • 1
  • 4
  • 10
0
votes
2 answers

Can I get the expected author/committer name using hooks?

So I have a git repository that is a bit unusual, in that multiple people work on the same repository, using sudo. (The goal in the long run is to get away from this, but for now, we're only taking small steps in improving our practices.) Of course,…
Falc
  • 123
  • 2