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,055 questions
29
votes
5
answers
25k
views
How do I get a linux kernel patch set from the mailing list?
I don't subscribe to the linux-kernel mailing list, but I want to get a set of patches that were posted a few weeks ago and apply them to my kernel for testing. I'm very familiar with patching, ...
2
votes
1
answer
2k
views
Why is "git pull" trying to use CURL_OPENSSL_3 while libcurl4-openssl-dev is installed?
When I run git pull I get the following error:
git-remote-https: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by git-remote-https)
Why is git trying to use ...
1
vote
1
answer
2k
views
GIT move files from folder to subfolder
I have the following folder structure.
Service
|
-- App1
|
--- bin
|
--- file1
|
--- file2
|
--App2
|
--- bin
|
--- file1
|
--- file2
|
--- file3
|
--App3
|
--- bin
|
...
0
votes
1
answer
3k
views
Old CentOS 5.6, Due to github.com delete the TLSv1/TLSv1.1 support, How can I access to github.com/repo.git using git system
Now I have a cluster with Rocks 5.4 based on CentOS 5.6. When I git push the code to github.com, I run into the errors:
error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol ...
46
votes
7
answers
82k
views
How to fix "Hunk #1 FAILED at 1 (different line endings)" message?
I am trying to create a patch with the command
git diff sourcefile >/var/lib/laymab/overlay/category/ebuild/files/thepatch.patch
when I apply the patch, it gives me
$ patch -v
GNU patch 2.7.5
$ ...
0
votes
0
answers
22
views
How to install Git Credential Manager (GCM) in Zorin OS/Linux Mint using the .NET version?
I always installed GCM successfully in Linux Mint following these steps (I always install the .NET SDK 8.x package for Debian), however, when trying it currently (both Zorin OS and Linux Mint again), ...
3
votes
2
answers
4k
views
Display git branch in terminal
I am using fedora OS and I want to display git branch or tag in terminal when I go into the git folder project.
I follow this tutorial. After I ran:
source /usr/share/git-core/contrib/completion/git-...
1
vote
2
answers
133
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
1
answer
10k
views
How to put secure password in Jenkins Groovy parameter script
My overall goal is to create a build parameter in Jenkins which is a drop down for only release branches. I have been at this for some time and know there are many ways to do this. Let me run through ...
5
votes
1
answer
4k
views
Run git pull from a shell start-up script
I have Raspberry Pi that loads a shell script on start up.
This script runs a python script, boot_camera.py, which is found in a repository.
I Have a server which sends the Raspberry Pi a command ...
2
votes
1
answer
23k
views
index.lock permissions error - .git owned by root, working tree owned by other user
On my server, I have a git repository covering a to-be-web-readable directory. The contents of this particular user's www directory will be readable and writable by that user, but I want the .git ...
9
votes
3
answers
2k
views
tracking crontab changes with git
I would like to use git to track changes in crontab.
I have initialized a new git repository in /var/spool/cron/crontabs/
Now the problem is, when crontab is saved, the second line of the header ...
2
votes
2
answers
3k
views
Self update bash script if there are any updates first then continue on, with Git
I'm trying to add the ability for my ArchLinux installer script to check if it's update-to-date based on rather it matches (or doesn't match) the version number that's on gitlab. The primary script ...
2
votes
2
answers
2k
views
Build CentOS RPM for current git release, unsuccessful rebuild with alternate prefix
I am stuck in an effort to provide an maintain an up-to-date git release for a collection of CentOS Linux servers. I was hoping to be able to create binary RPMs that I could just have published to a ...
0
votes
1
answer
2k
views
Problem adding files starting with dot to repository
I started to use a git repo to backup config files, also in "/etc", using "/" as work-tree, and created an alias, called "git-backup", to this command:
git --work-tree=/ -...