Skip to main content

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.

3votes
1answer
75views

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 ...
Christian Bongiorno's user avatar
-1votes
2answers
62views

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
1vote
1answer
36views

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

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
  • 113
1vote
1answer
79views

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
0votes
1answer
97views

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 ...
Milenko Markovic's user avatar
0votes
0answers
81views

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
0votes
1answer
23views

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
0votes
1answer
23views

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 --...
Milenko Markovic's user avatar
2votes
0answers
92views

Git issue on FreeBSD 14.1

I've set up a FreeBSD 14.1 server with sources and ports tree. Then, after some port and package installations, I've tried to update the ports tree, in which purpose set up git and did git init in /...
Thurisaz's user avatar
0votes
1answer
44views

Git SSL checks fail for one specific user

For a while now one specific user on my fedora 40 machine fails to clone any git repo at all with this error: SSL certificate problem: unable to get local issuer certificate Since the root user was ...
silverhalide's user avatar
0votes
1answer
45views

How to enable git gpg signing all commits from my computer

Background: It was years ago since I reinstalled my Linux Mint, now having couple months new installation of Linux Mint 22 Cinnamon, so I do not know if my question is specific to VS Codium which is ...
Vlastimil Burián's user avatar
1vote
0answers
44views

p4merge open each window minimized when running a git diff/ merge

I've asked the question on SO before, but maybe it is better placed here. I'm running on Ubuntu 24.04.1 LTS (X11) and have p4merge installed in version p4v-2024.3.2656785. I'm using p4merge since ...
morecore's user avatar
0votes
1answer
92views

Is it possible to make Windows git bash support chinese

I am trying to use curl (v8.6.0) to send the HTTP request to sever side under Windows git bash terminal. The server side is a Java spring boot application. When the curl JSON content contains Chinese ...
Dolphin's user avatar
0votes
1answer
55views

Neovim tabstops and git diff

I am new to vim and have difficulty setting it up. I am working with a FRR code in which the tab is 8 spaces. I want to see 4 spaces instead of 8 and have added the following settings [options.lua]: ...
Fidelity's user avatar

153050per page
close