Questions tagged [git]
Git is a distributed revision control system with an emphasis on speed.
818
questions
0
votes
0
answers
20
views
how do I change the user that git is running under?
Maybe my question is not quite correctly formulated, but nevertheless: I have an old server A and a new server B with ispmanager panels - I did not personally configure the software. In the old server,...
0
votes
0
answers
44
views
git operation timeout, but ssh works fine
I am using Ubuntu 22.04.4 LTS with WSL2.
Previously my git works fun, but recently, if I try git pull, it gives:
~/xxx main ❯ git pull origin main ...
0
votes
0
answers
38
views
I can't tell if Singularity is installed or not? UPDATED [closed]
I'm trying to install SingularityCE on Lunar but because I tried to go the easy way I accidentally installed a game called 'Singularity' before I managed to get the correct Singularity.
I uninstalled ...
0
votes
0
answers
28
views
Ubuntu 22.04 katlooon installation errors when running git commands and directory doesnt exist
im on ubuntu 22.04(?) and im trying to install kali repo apps (im still learning Linux i might sound confusing) and i installed git in terminal but when trying to get katloon it installs the first ...
0
votes
1
answer
55
views
Cannot git push to SourceHut using SSH
I recently made an account on SourceHut to have a online repository. I followed the directions and generated the SSH key pair and pasted the public key. When trying to git push, an Ubuntu prompt ...
0
votes
0
answers
45
views
GitKraken Crashes on Startup with no error
The problem
I am tryng to run gitkraken on Ubuntu 20.04.6. However whenever I go to open gitkraken nothing happens.
Steps to reproduce
Run the following commands to download and install:
gitkraken ...
0
votes
2
answers
51
views
How to write ouput of git fsck into a file [closed]
I use git 2.43.0 on Ubuntu 16.04.3 LTS.
Within a git repo i run this command in the terminal:
git fsck
and the output is:
Checking object directories: 100% (256/256), done.
Checking objects: 100% (...
0
votes
1
answer
314
views
rm -rf .git removed all my folders including the parent folder?
I ran rm -rf .git because I wanted to delete the .git folder for this one small test project. and then do a git init again. See the attached screenshot with my command history.
Today I realized my ...
0
votes
0
answers
20
views
How to add SipHash patch from kernel v4.11 to v4.4.52
How to add SipHash patch from kernel v4.11 to v4.4.52 to replace the md5 cryptographic function with the Siphash for adding more security in v4.4.52? Can we do this? what is the proper way to do? I ...
0
votes
1
answer
146
views
Git (Credential Manager) not found after deleting /home/.dotnet
Recently I uninstalled .NET (which was mistakenly installed to /home/.dotnet/ with the dotnet install script) by deleting the /home/.dotnet/ folder from my Ubuntu 22.04 machine. I have a repo which I ...
0
votes
0
answers
298
views
colcon build fail due to already built packages in underlay
i intend to build the package named ros2-seminar-examples.git
i git clone https:// git/ros2-seminar.git
and tried colcon build --symlink-install --packages-select ros2-seminar-examples
but it says
1....
0
votes
1
answer
50
views
When writting git commit message, how can I use kate instead of vim?
Whenever I use git to commit, or rebase, I am thrown into vim to edit my message, and I would prefer using kate, https://kate-editor.org
0
votes
0
answers
293
views
store Git credentials on ubuntu 22.04
How can I store my Git credentials so that I don't have to enter my username and password every time in cloning and committing?
0
votes
0
answers
273
views
How do I use i3wm long with all gnome and ubuntu default software?
I'm currently trying out i3wm on my Ubuntu system (Ubuntu 23.04), but am having some difficulties. I like the window manager, and I like the easily customizable config file, but I'm having a lot of ...
-1
votes
2
answers
288
views
`git gui` fails to run
I'm trying to run git gui in WSL Ubuntu 20.04, but it's giving me an error and failing to run:
$ git gui
fatal: 'gui' appears to be a git command, but we were not
able to execute it. Maybe git-gui is ...
3
votes
3
answers
677
views
Alias for git commands
Most of the time, I use these git commands :
git add src/ package.json
git commit -m "custom message"
git push origin "name_of_the_branch"
So I want to make a single alias ...
1
vote
0
answers
39
views
Tutorial request on how to bisect the kernel
Many times after the kernel upgrade something has stopped working or started crashing. The very last one that provoked me to submit this question is vscode.
I need to run it with --disable-gpu now. I ...
1
vote
1
answer
1k
views
Dark mode on Xournal++
Recently I installed Xournal++ in Ubuntu. I came across this link for a cool nord theme. I tried to install this to my Xournal++ application, but I am a complete newbie to both Linux and GitHub so I ...
0
votes
0
answers
128
views
How can I stop and rerun git clone command in case of a specified time delay?
I have a custom clone command. I call clone org_name and it automatically clones every repository of that organization for which the current developer has access to.
Of course my clone command uses ...
0
votes
0
answers
211
views
How do i install asleap on Ubuntu 20.04 LTS
i want to install asleap from https://github.com/joswr1ght/asleap, i already clone using git clone, cd the folder, do command "make" but i got this error
gcc -pipe -Wall -D_LINUX -...
0
votes
0
answers
302
views
On Ubuntu, my WSL do add the changes which I made and also commits the changes but it do not push my changes to my Git repository
Earlier, when I used to add, commit and then push my changes to my Git repository, my WSL used to ask me about my username and password, after which it successfully pushed all of my new files to my ...
0
votes
0
answers
36
views
when i am tried install git in ubuntu terminal getting malformed error [duplicate]
: Malformed entry 1 in list file /etc/apt/sources.list.d/archive_uri-https_apt_releases_hashicorp_comjammy-jammy.list (Component)
E: The list of sources could not be read.
when i am try to install ...
2
votes
2
answers
456
views
Repetitive warnings about Github's ECDSA host key differing from the key for IP address
I keep getting this message when using Git with Github:
Warning: the ECDSA host key for 'github.com' differs from the key for the IP address '20.248.137.48'
Offending key for IP in /home/steve/.ssh/...
0
votes
0
answers
31
views
Best configuration for multi-user and network storage that is git friendly
I'm setting up a new system that is running Ubuntu 22.04 LTS. The system has two storage devices: an SSD, and a larger HDD device. The SSD is for the boot partition and configuration, system and ...
-1
votes
1
answer
86
views
How Linux kernel is synchronized with Ubuntu?
As Ubuntu uses Linux kernel. Since Ubuntu has his own git repository while Linux kernel has its own repository. So can these two different GitHub repo is in sync. Can someone explain? These questions ...
0
votes
1
answer
243
views
Dot gitconfig file not reflecting when switch user on ubuntu 22.04 lts
Today I have installed Ubuntu22.04LTS. In that, i had a user bob and his git config is like
user.name=Bob B
[email protected]
alias.unadd=reset HEAD
I Had another user named quealy . when i ...
0
votes
0
answers
756
views
VS Code terminal in Ubuntu showing branch name
I am new to linux/Ubutu.
I downloaded the VS Code and i extensively use VS Code terminal in windows because that contain me into one window with out me needing to go to external shell or bash.
In VS ...
0
votes
0
answers
426
views
dpkg: error processing package git-lfs (--configure)
getting a dpkg error with git-lfs -
dpkg: error processing package git-lfs (--configure):
installed git-lfs package post-installation script subprocess returned error exit status 2
Earlier it shows -...
0
votes
1
answer
251
views
Conky manager v2.72 stuck on searching directories
A few days ago I joined Linux by installing UBUNTU to my HP laptop.
I used Some themes and used CONKY to get a date time widget to my desktop screen, but now conky isn't running. I visited its Git ...
2
votes
0
answers
440
views
git clone with ssh not working but connects manually - wsl ubuntu 22.04
I'm trying to clone repo from the gitlab. I've already added the ssh keys in my account. What's supposed to happen when I clone via ssh is that the browser will open for authentication via duoconnect. ...
-1
votes
1
answer
2k
views
where git clone stored files
Hi I cloned https://github.com/hackerpain/domaining and can't find it in my Windows, the reason I want to find it is that it has a .txt file and I want to modify it.
I use Ubuntu, and I have a ...
0
votes
0
answers
76
views
Jenkins build failure for python script in github using ubuntu version 22.04.2 LTS
I created a simple python code in my github repo with the following:
import numpy as np
import matplotlib as plt
a=np.arange(1,5).reshape(4,1)
print(a)
print(a.data)
print(a**2)
print(a.dtype)
I ...
0
votes
0
answers
372
views
remote: Permission to userA/blogger.git denied to userB
I am new at ubuntu. After installing I configured my git for userB. But maximum project created & uploaded to userA git account. after realization that if I use everything different from OS to OS ...
1
vote
1
answer
80
views
What is the relation of git and git-man?
I Updated git to 1:2.25.1-1ubuntu3.10 but git-man still on 1:2.25.1-1ubuntu3.8.
Aren't they have dependency relationship?
I always think while I updated git, the git-man will update.
What is the ...
0
votes
1
answer
83
views
Is it still possible to update git on 16.10 LTS? [closed]
I'm looking to migrate our Bitbucket server to the cloud using their assistant but it requires git to be on 2.25 or later and I can't figure out how to get it updated. Yes, I know shame on me for ...
1
vote
0
answers
91
views
When opening Git Giu on Ubuntu 22.04 Virtual Box the screen does not show the graphics correctly
When opening Git Giu on Ubuntu 22.04 Virtual Box the screen does not show the graphics correctly.
I have recently used the same functionality a couple days ago and I had no problem with it. I really ...
0
votes
1
answer
10k
views
Git installed but still gets "command not found"
I am working on a remote ubuntu server.
When I run git which, nothing happens. And when I run git --version, nothing happens either. Which would suggest that git is not installed on the server.
Yet, ...
0
votes
0
answers
19
views
Unable to clone GitHub private repo "Permission denied (publickey). fatal: Could not read > from remote repository" [duplicate]
I asked for help on stackoverflow and I was told it is more than likely a Ubuntu problem and was recommended to ask here.
I'm trying to clone a private git repo to my web folder on Ubuntu. I've ...
-1
votes
1
answer
342
views
when trying to sudo apt install git, i get the following error
The following packages have unmet dependencies:
git : Depends: liberror-perl but it is not installable
E: Unable to correct problems, you have held broken packages.
1
vote
3
answers
220
views
Couldn't able to store a output of awk command
I have been trying to print git clone progress on more minimalistic way for my project.
Aim
Instead of printing a whole git clone output on screen
remote: Enumerating objects: 1845678, done.
...
0
votes
2
answers
973
views
git send-email setup failure
I am unable to setup git send-mail to send a patch.
os platform: Ubuntu22.04 LTS
linux kernel: 5.15.0-58-generic
git virsion: 2.34.1
I following these two guides.
git setup guide
microsoft smtp ...
12
votes
3
answers
2k
views
Why is `$(git branch)` outputting all files' names inside folder (besides git branches)?
I wrote a command to delete all git branches without needing to write them all mannually, which is currently like this:
git branch -d $(git branch)
It does what I want, but also tries to delete ...
1
vote
1
answer
3k
views
wget using git credentials
How do I run wget or curl to download a single file from a Git repository which is already authenticated in Git?
It seems that I need to pass a private key or a public key, but I am already ...
0
votes
1
answer
899
views
installing openstack using devstack on ubuntu 22.04
when I run the ./stack.sh command to install openstack I get the following errors:
please help me
error: RPC failed; curl 56 GnuTLS recv error
(-9): Error decoding the received TLS packet.
fatal: ...
2
votes
0
answers
55
views
How would one craft a dsc that builds a package from multiple upstream source repositories
This is a complex one releated specifically to Debian/Ubuntu packaging (i.e. making .debs).
I've got a set of projects that are all currently separate. Using my real project (Jellyfin) here for ...
3
votes
1
answer
3k
views
How to downgrade Git from version 2.38.1 to 2.37.3 on Ubuntu 20.04
How to downgrade Git from version 2.38.1 to 2.37.3 on Ubuntu 20.04?
This is needed because Atlassian Bitbucket Server 8.+ do not support latest version of Git. Please se at: https://confluence....
0
votes
0
answers
26
views
error occur while install git cmd [duplicate]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet ...
1
vote
0
answers
1k
views
SSH and Telnet timing out. Ubuntu 22.04 lts
This is my first post on stackexchange and I am a Linux newbie, so if I misconduct anyhow, let me know.
Every time I try to ssh (or telnet) into anything that isn't localhost I cannot connect due to ...
1
vote
0
answers
708
views
git difftool with meld broken after update to 22.04: fatal: external diff died
After updating to 22.04 recently, this command has stopped working:
git difftool --tool=meld -y HEAD~1
Viewing (1/15): 'file.txt'
Launch 'meld' [Y/n]? y
Trace/breakpoint trap (core dumped)
fatal: ...
0
votes
0
answers
38
views
unable install occlum in ubuntu20.04
intel@intel-M50CYP2SBSTD:~/akarsh/occlum$ make submodule
Add Git hooks that check Rust code format issues before commits and pushes
git submodule init
git submodule update --progress
cd deps/serde-...