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.
1,048 questions
3
votes
1
answer
74
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
62
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 ...
1
vote
1
answer
36
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 ...
0
votes
2
answers
34
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 ...
1
vote
1
answer
78
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 ...
0
votes
1
answer
97
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
78
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 ...
0
votes
1
answer
22
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 ...
0
votes
1
answer
23
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 --...
2
votes
0
answers
91
views
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 /...
0
votes
1
answer
44
views
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 ...
0
votes
1
answer
45
views
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 ...
1
vote
0
answers
44
views
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 ...
0
votes
1
answer
92
views
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 ...
0
votes
1
answer
54
views
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]:
...