Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [git]

Git is a distributed source control system.

5
votes
2answers
190 views

any issues with file-copy Git Repo to another machine (and keep working from both)?

I want to copy all my git repos from my old machine to my new machine (both Ubuntu). I will keep using both machines... I am doing this primarily out of laziness (well: there are for some local ...
0
votes
0answers
5 views

Apache 2.4 on Windows logs “Request exceeded the limit of 10 subrequest nesting levels” error when using git-http-backend

I set up Apache 2.4.35 on a Windows Server 2008 machine and configured it for git-http-backend. Things seem to work but the error messages in the log bug me. The question: what is causing this, do ...
0
votes
0answers
9 views

“replay” git push for post-receive hook

I am trying to link Jira issues to commits in a central git repository, and have found the plugin SCM Activity for Jira. It is designed to be called from a post-receive hook. The post-receive (and ...
0
votes
0answers
8 views

Get cgit working with Hiawatha

I wan to use cgit with Hiawatha. I have used it before with lighttpd and everything works perfect. But now I switched the webserver, and I didn't get cgit to run. So my question is, if anybody could ...
0
votes
1answer
45 views

Pushing to windows remote fails

I've created a repository on a windows machine at: C:/Users/Administrator/Desktop/project.git I've now added my remote to my local repository: git add remote ssh://Administrator@11.11.11.11/C:/Users/...
1
vote
1answer
44 views

Possible to Trigger CodeDeloy to deploy code on codeCommit Push Trigger?

I have setup a deployment of code in code-commit. I have my code present in CodeCommit. As soon as there is a code pushed to master branch, i want that master branch code to be pushed to production (...
0
votes
1answer
24 views

Gitlab uninstall issue

I am using Redhat linux in my web server and I had git repositories manually setup in one ip called 192.168.0.100. This was installed under a user called git. I have been accessing git by calling like:...
-2
votes
0answers
15 views

Tips for separating DevOps Git repos?

We currently have a Git repo with automation code (with tests), iaas-code and lamba-code. The automation code is mostly Fabric, Python and unittests. The Iaas-code is mostly CloudFormation, Docker-...
0
votes
2answers
79 views

Permission denied (publickey) when cloning git repo, but SSH works fine

I'm attempting to clone a git repo using SSH protocol like so: sudo git clone ryan@example.com:/var/www/repo But I'm getting the "Permission denied (publickey)" error. However, I already placed my ...
0
votes
0answers
16 views

Git SSH keys for multiple accounts, 1 doesn't work

I've attempted to set up 2 ssh keys for my personal and work Bitbucket accounts using this guide here: this guide from Atlassian. One of my accounts is a personal account and the other is a work ...
-1
votes
1answer
39 views

Ansible versioning on git

I've got a git repo, I've got my playbooks and hosts. Now what? What is the recommended way to get my /etc/ansible folder on my GitLab? I can just create the repo, but then how and when do I pull ...
0
votes
2answers
23 views

How to host a git on server for websites

I've been taking a class this semester where students make a few design projects. I take this class annually and would like to start saving student outputs for posterity. Currently students make a web ...
0
votes
1answer
29 views

Why is git not using identity set in ssh config file? [closed]

I am trying to connect to my local Gitea server. I have set it up to use the integrated SSH server on port 2222. I am running Windows. Gitea is running fine. Now I want to connect using Cygwin's git. ...
0
votes
0answers
43 views

Gogs not restarting after server reboot

I had quiet an abnormal thing happen with my development gogs server today. I should say that I am working with a huge repo (+60GB) and this may be a factor in the problem. I checked out a previous ...
0
votes
0answers
15 views

no prompt for username/password for push to git server

Background I am almost done prototyping a git server. I have the web viewer, clone over ssh, and push over ssh up and running. Finally, I have clone over https up and running, but am having trouble ...
0
votes
0answers
51 views

Automatic write from web server to git production repository using passwordless SSH key: is it secure?

I have a wordpress website which have 4 different environments: development, preview, staging and production. This all are connected to 4 git remote repositories: development, preview, staging and ...
0
votes
0answers
103 views

Jenkins occasionally fails to clone/fetch

I am running code hosted on Gitlab on regular basis in Jenkins. From time to time, Jenkins GIT plugin failes to fetch the remote repository. It works fine when I just run it again. Any idea? I have ...
0
votes
1answer
129 views

Gitlab Verify return code: 21 (unable to verify the first certificate)

I'm having some problems that I hadn't before with Gitlab and Git. I updated my SSL on my Debian server as I usually do each year and git doesn't work as intended anymore Apache Web Server and ...
0
votes
0answers
44 views

How to allow branch permissions on bitbucket server

Bitbucket server's branch permissions seem all back to front to me. They allow you to restrict access to branches but offer no ability to allow it. Here's my problem. I've got an unruly bunch of ...
0
votes
0answers
37 views

How to install git-lfs on hp-ux

I was able to install git using swinstall & depot file, and after installing all dependencies it works. I cannot find any depot file for git-lfs extension: Is there any easy way to install git-...
0
votes
2answers
125 views

Jenkins Build Failing with limited error output

I have recently setup a gogs server to connect with Jenkins (previously we were using SVN). The connection is working but the build fails when retrieving objects from the gogs server around 41%-43% (...
2
votes
1answer
75 views

SSH error between gogs and Jenkins

I am trying to setup an automated pipeline between Jenkins and Gogs and am having some issues with connecting the two together. I feel like I have followed the process correctly but am still receiving ...
0
votes
1answer
73 views

Deploy Node project locally on ec2 machine

I have a ec2 Linux-16.04 machine, and Jenkins is installed on it. I would like to have a Jenkins job to deploy my Node server on the same machine under another user. What would be the best approach?
0
votes
1answer
60 views

How to configure SSH agent to set user for second hop?

Is it possible to connect to a web server and then connect to a git server using SSH agent if the second hop needs a different user? It works if I pass in the user name explicitly. $ ssh web....
0
votes
2answers
734 views

Set up database for integration testing with Jenkins in Docker

Background: I was following Downloading and running Jenkins in Docker to setup Jenkins Server. Used following parameter to run Docker. docker run \ -u root \ --rm \ -d \ -p 8080:8080 \ -...
0
votes
1answer
15 views

How do I setup a host that every time I push to git, files are updated on the host?

I'd like to be able to push to git and have my repo synced to a directory on a different host. I host my code @ GitHub and have a VPS @ Lightsail. Is there some sort of script, cronjob, or existing ...
0
votes
1answer
215 views

Using Built-in Windows 10 sshd, cannot clone git repository

Windows 10 now includes a built in sshd server. That means I should be able to access my git repositories located on the windows machine with git clone ssh://myid@mywinmachine/myrepos/repo1.git ...
3
votes
2answers
112 views

How to run a script on a server 1 minute after a commit has been made?

Apart from creating a 2nd script which would check the time of the last commit and then run the main script and which would be too complex of a solution, is there a simpler one?
0
votes
2answers
73 views

Ssh behind static IP

Sorry if this is duplicated , I just can't find a solution . Scenario - static IP 125.22.25.241 which is accessible from outside world with ssh . Local ip 10.0.0.6 - local pc inside the netqork of ...
0
votes
0answers
59 views

cgit shows images as hex code

I have set up cgit. Everthing works perfect except images in the repo that are shown as hex. Take a look at an example: https://git.malte-kiefer.de/Prosody-Web-Registration-Theme.git/tree/screenshots/...
0
votes
1answer
127 views

SSH Tunnel connected but can't git clone

I believe this is a fairly simple one, but on the face of things I am sure its not "wrong". I am trying to ssh tunnel in from my linux machine into a OSx machine that has access to my VPN. Setting ...
1
vote
0answers
114 views

Unable to push after setting git smart http. Pull and Clone working

I am trying to set up git in my server with smart http as the access mechanism. Due to some intergration problems we can not use any other mehtod and it has to be the http or the https methods. So i ...
0
votes
1answer
210 views

Git: server certificate verification failed using Bitbucket Server

I have a Bitbucket server running onprem with a certificate. I added it to the keystore ussing the follwing commands openssl pkcs12 -export -in myurl.com.cer -inkey myurl.com.key -out myurl.com.p12 ...
0
votes
0answers
22 views

cannot make squid and git work together on proxy

Although I have defined the git's port in my squid config file. I still cannot connect to bitbucket which my company has restrection on it. acl all src all acl manager proto cache_object acl ...
0
votes
0answers
20 views

VPN connection blocking git requests - Linux

For work I use a VPN connection to access our private network/servers. When I connect to the VPN it seems as though http/https keeps working fine but all other requests i'm having issues with, the ...
1
vote
1answer
245 views

How to start git-daemon at boot?

I've created scripts to control starting, stopping, etc. of my git-daemon on Fedora28. I'm now attempting to link these scripts to a systemd service so git-daemon will be available after reboot. The ...
0
votes
0answers
20 views

do not upload files from the client to the local server

I have a virtual machine with ubuntu and git from the client send push but the files are not created on the server. On the other hand if I do not use on the server: git config receive....
0
votes
0answers
11 views

Automate Deployment For Node.js Apps With Git Hooks but need permission for npm i?

Hopefully I am not posting in the wrong area because I think this is more of permission instead of coding part which I am not sure how to setup the permission properly. (If I am posting in the wrong ...
0
votes
1answer
128 views

How to add multiple post-receive hooks to a git repository?

I would like to add multiple post-receive hook scripts to a git repository on my own server. For example: triggering CI, and posting to slack. How can I add more than one script?
1
vote
0answers
103 views

Does Bash through Linux as a Subsystem for Win10 replace Git Bash for Windows?

I'm in the process of learning how to create Wordpress templates, and as a part of that was told to install Git, npm, node and gulp. However, the online course leaves out details about where stuff ...
1
vote
0answers
17 views

how to manage Multiple User Acceptance Tests at once

Our current setup has the following environments: development testing staging production We are finding that things are being held back at the testing phase due to UAT taking longer than expected ...
1
vote
1answer
33 views

git cluster client setup. Push to Server A…replicate to server B…Clone server B

I would like to create a Git read/write cluster. That is clear how can I make it on server side. How replicate the commits from Server A to server B. I try to search how can I set on client side to ...
0
votes
2answers
103 views

SSH and GIT auth suddenly stopped working

I've been happily pulling from my repository for months, until now.. :'( For the first time ever git now asks me to add github.com to the known_hosts file. It never did that before, I even didn't ...
0
votes
0answers
153 views

using ssh agent forwarding to clone git repo

I have a private github repo that I want to clone in an EC2 instance. From my local computer, I access to it via private key (so I can clone, pull, push only using my keys, and not passwords). I don't ...
0
votes
0answers
125 views

Bonobo Git Server with AD throwing lots of ActiveDirectoryObjectNotFoundException

I'm new to Bonobo Git Server. I've configured Bonobo to authenticate via Active Directory, and that is working fine; I'm able to control which users get admin access via AD group. However, I'm ...
2
votes
1answer
101 views

git push fails - permissions and ssh keep alive checked - what else?

I migrated my git server to a new server and now I try to push my data to the new one. Client: Windows, TortoiseGit Server: docker git-server The log when trying to push git.exe push --progress "...
0
votes
0answers
421 views

Using Git submodules in Gitlab CI jobs

Summary Git submodules dont work in CI jobs Steps to reproduce Create a file .gitmodules [submodule "database_schema"] path = database_schema url = ../../nss/database_schema.git My .gitlab-ci.yml ...
0
votes
1answer
87 views

GitLab on Google Cloud Platform VM

I am trying to run gitlab on Google Cloud Platform. I followed this tutorial: https://docs.gitlab.com/ce/install/google_cloud_platform/index.html but now I am at the point when I cannot push the ...
2
votes
2answers
111 views

full /etc/ recovery from git

I have a CentOS 6.9 server. The full /etc directory was under version control. I accidentally ran 'git rm -R' on it. The server stopped working right away, my ssh session got lost. I managed to ...
0
votes
0answers
60 views

Git push fails after authentication

I'm deploying git server on our production SUSE 12 SP3 to be accessed via Visual Studio. First I made a working test vm with git that works fine, but after I recreated all the work on our production ...