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
1 answer

git-http-backend on apache2 can pull but not push: remote: fatal: not a git repository: '.'

(I had to replace 'http' with 'hxxp' everywhere because otherwise I couldn't post it because apparently this looks like spam) I have set up git on my server (Debian, arm). I use the git-http-backend with apache2 so that the repositories can be…
0
votes
0 answers

Configure an open-source git repository to not need username and password when clone and pull

This is my first time I create a git server. I create a git https server with Nginx as a webserver, fcgiwrap as interface to the git-http-backend, and apache2-utils to generate the password hash for authentication. Here is my git config: [core] …
0
votes
0 answers

Better browser and metadata for Azure DevOps repos

My team is struggling with keeping our rapidly growing number of repos organized in Azure DevOps. All our repos are under a single Project (it's not possible to change this). Having an interface with either a hierarchical or label based…
0
votes
1 answer

How to block git push to github

My organisation is trying to block 'git push' to repositories on sites like Github, Gitlab etc. Currently they have blocked the website, however users are still able to clone and push code via git. Git protocol uses port 9418, however the URL to…
Birla
  • 130
  • 5
0
votes
0 answers

Is there any way to display a MOTD when running `git fetch` or `push` or `pull`?

I have a situation where it would be useful to display a message to users when they push or pull or fetch from the command line from our internally hosted Github Enterprise service. After some googling, I saw instances of folks wanting to disable…
Rob Fagen
  • 9
  • 1
0
votes
0 answers

Github repository sync with server directory

I have shared Google Cloud based Ubuntu Server which is mainly used for web development. By now I have it working as web server and the code is being developed in an already created github repository. In Git, we have 3 main folders (preproduction,…
0
votes
0 answers

What is the meaning of Attachments size in CodeCloud repo dashboard

What is the meaning of Attachments size and how it differs from the other size?
tonymontana
  • 101
  • 2
0
votes
1 answer

Incomplete SSHD logs

I'm entirely confused by this one. I've got a Docker container that periodically tries to connect to a Git server, and fails. I see the periodic connects in the sshd logs: Aug 09 16:14:01 sshd[11441]: Accepted publickey for from…
MSalters
  • 700
  • 5
  • 6
0
votes
1 answer

Debian: how to install a package without a specific dependency (git without Perl)

I am trying to install an apt package without one of its dependencies (specifically, git without Perl to reduce Docker image size by >50MB). I can think of two options: installing the package without this specific dependency installing the package…
0
votes
0 answers

How to let homeless user operate unsafe repository

After version 2.35, git will fail when doing git operation if user is not the owner of git repository due to a patch for a CVE issue. A quick fix(Well, I think it is just a temporarily method.) for users with home is setting git config. git config…
Mudream
  • 101
  • 3
0
votes
1 answer

Key forwarding with putty isn't working, but plink DOES work

I'm having a problem where putty's key forwarding (via pageant) to my gitlab server isn't working. I'm doing a putty session to my server, with ssh auth forwarding enabled. I see the effects of that forwarding in the environment variables on the…
elyograg
  • 239
  • 1
  • 11
0
votes
1 answer

How to keep duplicate repository in sync with github?

I have used github duplicate option with --bare in clone and uploaded to a different account in github.com Used as in this link Just as a process to handover the project to another team. But there are recent changes in the original repository, how…
user2331760
  • 155
  • 4
  • 12
0
votes
1 answer

nginx: Redirection from old to new git base URL

I would like to redirect the old base url of git repositories. I use the following code: location ~ ^/scm/git/(.*) { return 301 /scm/repo/git/$1; } In the browser, the redirection works fine, but when I try to clone the repository, I get the…
Christian
  • 3
  • 1
0
votes
0 answers

Mount volume to build image used by gitlab runner

I have custom image where I want to run some tests which require installed app which in turn need openGL context. I can run it in container composed this way and manually build project and run tests. docker-compose.yml: version: "3.6" image:…
Max K
  • 3
  • 1
  • 3
0
votes
1 answer

gitea ask for `gitea` password on TortoiseGit and SourceTree

I have a Manjaro system running gitea server. Now when I tried to do something with the repos on the server, eg. cloning or pushing, using TortoiseGit or SourceTree, the server will ask for a password for the account gitea. When I do the same…