Skip to main content
Unix & Linux

Questions tagged [git]

Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

backblaze sync: how to ignore .git subdirectory

b2 command line tool, version 4.3.3 6.16.3-arch1-1 The old --exclude-regex is removed, and the .b2_ignore file is ignored. I want to sync my directory to my b2 bucket but don't want to sync the git ...
1 vote
1 answer
71 views

How to fixup when there are duplicate commit subjects?

To reproduce: Create two commits with the same commit message subject (that is, the first line of the commit message). Let's say the first commit gets commit ID "a", and the second one gets ...
l0b0's user avatar
  • 53.5k
1 vote
1 answer
48 views

How to control podman's images with git?

We are using podman's containers for the project. The issue, we have is what while working on different branches of the project we need slightly different containers. So each git branch has its own ...
White Owl's user avatar
  • 5,267
5 votes
0 answers
108 views

Subsequent "git clone" commands influencing each other?

I'm currently part of a migration from GitLab to Azure DevOps. As part of that I wrote a little bash script that iterates over the migrated git repos and for each performs a clone from both gitlab and ...
creinig's user avatar
  • 176
0 votes
0 answers
97 views

can't install pgAdmin4 desktop on arch linux

I need your help! I'm trying to install pgAdmin4 desktop version on my Arch system. I am getting libfakeroot internal error: payload not recognized! while building package for pgadmin4-server(which is ...
-1 votes
2 answers
312 views

how to filter git commits only if certain directories were changed

I need to filter commits based on directory changes, for example I need to get a list of commits only if the commit made a change in a certain directory. I have tried the path filter glob option ...
xerxes's user avatar
  • 359
4 votes
1 answer
151 views

How can I reverse forward git ssh when my config requires a Yubikey

I frequently need to log into a VM that has no direct access to the internet or our source code repo. In the past I have circumvented this with a reverse port forward over ssh but now my problem is ...
-1 votes
2 answers
98 views

extract multiple words from git log

I need to extract multiple words from git log. I need the commit id and ticket number for each commit, I then need to run this through a loop and do some further processing for each commit. commit ...
xerxes's user avatar
  • 359
1 vote
1 answer
70 views

Git hook on SSH remote fails due to not reading shell configuration

I'm using a git post-receive hook to perform some actions after a git push to a remote server. This remote operates over SSH: $ git remote -v server user@server:repo.git The problem is that ...
sidyll's user avatar
  • 217
0 votes
2 answers
67 views

How to improve responsiveness of git hash in zsh prompt?

I wanted to put the current git hash in my prompt; but my initial approach was kind of laggy: psvar[1]="$(git log -n1 --pretty='format: %h' 2>/dev/null)" (with $PROMPT including %1v to ...
sh1's user avatar
sh1
  • 113
1 vote
1 answer
103 views

Configure git repository on production server with remote source

It may be a vague question, but I can't currently find a good solution in my head. I have a BookStack application running on a company server. To simplify and for security I have a custom .gitignore ...
siery's user avatar
  • 221
0 votes
1 answer
234 views

Why git diff does not work? fatal: bad revision '[6.1...]'

I want to compare 6.1(which is main) and my branch git diff [6.1...] -- [/MM-pizdmr-are-up-to-date] fatal: bad revision '[6.1...]' I tried Github UI ,but it take too much time and suggested git diff ...
0 votes
0 answers
136 views

LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection in macOS

when I run this command in Visual Studio Code in macOS 13.3.1, shows: ➜ texhub-web git:(main) git pull origin main fatal: unable to access 'https://github.com/RedDwarfTech/texhub-web.git/': LibreSSL ...
Dolphin's user avatar
  • 791
0 votes
1 answer
38 views

How do I change the Subject/Title of patchwork patch?

I have created a patch for the Linux kernel. It can be found at the following website: https://patchwork.kernel.org/project/bluetooth/patch/[email protected]/ Unfortunately, I ...
Jeremy's user avatar
  • 185
0 votes
1 answer
38 views

How to check git porcelain on CI step?

I added this step to CI check_if_there_is_change: - run: name: Check that no git-tracked files were modified command: | FILES_MODIFIED="$(git status --...

15 30 50 per page
1
2 3 4 5
...
71

AltStyle によって変換されたページ (->オリジナル) /