As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [git]

Git is a distributed revision control system with an emphasis on speed.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 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 -...
basswaves's user avatar
0 votes
0 answers
31 views

Accidently uninstalled git... Receiving error code

So I was doing an oh my zshell installation on my Ubuntu 22.04 LTS terminal using this guide (https://itsfoss.com/zsh-ubuntu/). But unfortunately, I had accidently uninstalled zsh, git and fonts-font-...
Cherly Marte Castillo's user avatar
0 votes
0 answers
33 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 ...
rishav1401's user avatar
1 vote
0 answers
64 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. ...
zerotwo's user avatar
  • 11
-1 votes
1 answer
124 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 ...
Abdelali Fihri's user avatar
0 votes
0 answers
28 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 ...
Rising Sun's user avatar
0 votes
0 answers
297 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 ...
Mushfiqur Rahman's user avatar
0 votes
1 answer
35 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 ...
chfyljt's user avatar
  • 13
0 votes
1 answer
54 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 ...
Casey Schneider's user avatar
0 votes
0 answers
21 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 ...
Ruben Perales Gómez's user avatar
0 votes
1 answer
2k 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, ...
krimo33's user avatar
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 ...
CNRP's user avatar
  • 1
0 votes
0 answers
161 views

I'm trying to integrate github with jenkins but this is what I get

Failed to connect to repository : Command "git ls-remote -h -- git@github.com:ifeoluwashola/web_cicd.git HEAD" returned status code 128: stdout: stderr: No ECDSA host key is known for github....
Ifeoluwa Oluwashola's user avatar
0 votes
1 answer
85 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.
Edimma Ekpri's user avatar
0 votes
0 answers
72 views

Git clone - personal access tokens

I have generated my personal token and it is a classic token. When I paste it into the terminal to clone my repository, the terminal is asking for a password. How do I access the password?
Barbra Wasiwo's user avatar
1 vote
3 answers
145 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. ...
Eswar Reddy's user avatar
0 votes
0 answers
44 views

Where is the current development repository of the Ubuntu Mainline kernel?

For (I believe) a long time, the development repository of the Ubuntu Mainline kernel has been git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack. However, this ...
Marcus's user avatar
  • 2,255
0 votes
2 answers
306 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 ...
Vishal Parmar's user avatar
0 votes
0 answers
89 views

Setup Git Credentials Manager to login to microsoft SSO

Company has a Gitlab server and uses microsoft login to authenticate. Trying to clone a repository with HTTPS. It just shows the Git Credential Manager window. I try to login with the company e-mail ...
Gerard Cruz's user avatar
11 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 ...
Gabriel Bergoc's user avatar
0 votes
0 answers
219 views

Sasquatch (binwalk) throws error when running build.sh

I cloned the repository and installed the c compiler As said here: https://github.com/ReFirmLabs/binwalk/blob/master/INSTALL.md But when trying to build sasquatch, after I installed and cloned it, ...
nat34's user avatar
  • 1
1 vote
1 answer
752 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 ...
Z0q's user avatar
  • 123
0 votes
1 answer
557 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: ...
Claude Mutela's user avatar
0 votes
0 answers
21 views

Git decides for me, instead of generating a merge-conflict

i posted this : https://pastebin.com/62B1aTEm, but was a little dirty because of opening gedit.... now this is cleaner : https://pastebin.com/1q9D2aZi Here is the video: https://drive.google.com/file/...
Eduardo Gutierrez's user avatar
0 votes
0 answers
18 views

I can't find my git related directory one day

I'm using Ubuntu 18.04. I had a git related directory under my personal directory. My last operation in this git directory is "git push". This morinig I suddenly found the directory is ...
li_jessen's user avatar
0 votes
0 answers
18 views

Is my keyboard misconfigured or am I doing something wrong?

I'm using git for the first time with my terminal, when i use git commit i get these commands, but they don't do what they say, for example: the letter O is for save, I press Esc and then O but it ...
Juan Morales's user avatar
2 votes
0 answers
28 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 ...
Joshua Boniface's user avatar
0 votes
0 answers
372 views

no such file or directory when setting up alias

I am following a guide to setup dotfiles - https://www.paultman.com/git-for-dotfile-configs/ There is a command to set an alias for git and target it using a git dir. However when running this command ...
Kay's user avatar
  • 409
3 votes
1 answer
2k 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....
Matti Kiviharju's user avatar
0 votes
0 answers
23 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 ...
Gangadhar s's user avatar
1 vote
0 answers
602 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 ...
klnstprx's user avatar
1 vote
0 answers
276 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: ...
Ainar-G's user avatar
  • 161
0 votes
0 answers
32 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-...
Akarsh Patel's user avatar
1 vote
1 answer
525 views

Running Ubuntu 22.04 (Jammy) and failing to install GIT

Attempting to install GIT using apt-get and it's failing. All of the web searches turn up different commands none seem to work. Output of the install command sudo apt-get install apt-transport-https ...
Ham C's user avatar
  • 11
0 votes
0 answers
80 views

Unable to install kpt package on ubuntu : ambiguous repo/dir@version specify '.git' in argument

In order to install kpt package inside, I am referring to this link I am running the below command in the docker and it is working fine RUN mkdir -p ~/bin RUN curl -L https://github.com/...
learner's user avatar
  • 101
2 votes
3 answers
12k views

Git "fatal: detected dubious ownership in repository"

Description: Ubuntu 22.04.1 LTS Release: 22.04 I'm trying to cron some git commands under the user www-data and it doesn't work. To troubleshoot, I tried to run sudo -u www-data git show ...
bilogic's user avatar
  • 181
0 votes
0 answers
98 views

Is there a way to include Behind / Ahead info in oh-my-zsh Prompt?

I know using the below command, we can get the results of commits that is Behind and Ahead. git rev-list --left-right --count origin/master...`git branch --show-current` But I would like to know, if ...
karthick87's user avatar
  • 80.1k
0 votes
1 answer
1k views

git clone not working

So I'm new to linux and all. I've been trying to configure my nvim recently. Then suddenly the plugins didnt get installed (failed at cloning) and thought it might be plugin manager (packer) problem, ...
geater's user avatar
  • 1
0 votes
0 answers
26 views

Jenkins builds instantly aborts whenever I try to build it. Ubuntu 22.04

I am having an issue with my jenkins server where some projects just don't build at all. When I click build now nothing happens, I tried refreshing and still nothing about a new build. It was working ...
JustDoom's user avatar
0 votes
0 answers
1k views

SSH/GIT commands stuck after upgrading to Ubuntu 22.04

After upgrading to Ubuntu 22.04 from Ubuntu 20.04 I have some problems with git commands. For example a simple git clone or git pull from github just hang/freeze forever without any error. After some ...
Davide Icardi's user avatar
2 votes
2 answers
16k views

stderr: No ECDSA host key is known for github.com and you have requested strict checking

[enter image description here] 1Failed to connect to repository : Command "git ls-remote -h -- git@github.com:yeni/jenkins-terraform.git HEAD" returned status code 128: stdout: stderr: No ...
user2631106's user avatar
0 votes
0 answers
248 views

Chown for all users via sudors does not work for specific folder

I would like to allow chown for a special folder recursively for all users, so that I can use a git hook to automatically update the folder after a push. For this I have customized sudoers using sudo ...
Basstma's user avatar
1 vote
1 answer
2k views

Display Git branch in brackets inside Ubuntu terminal using custom .profile script

I have this custom .profile script: PS1='\[\033]0;WSL2 Bash\W\007\]' # set window title PS1="$PS1"'\n' # new line PS1="$PS1"'\[\033[36m\]' # change to green ...
Bex T.'s user avatar
  • 113
0 votes
0 answers
374 views

How do I open Git bash in ubuntu 18.04

I have installed Git bash in ubuntu 18.04 using sudo apt install git-all. Now I want to enter some SSH key command to connect it to my github account, But I can't access to my gitbash. How can I open ...
Thierry's user avatar
0 votes
0 answers
1k views

How to install git-filter-repo?

I want to install git-filter-repo which is in https://launchpad.net/ubuntu/jammy/+package/git-filter-repo When I want to install it I get $ sudo apt install git-filter-repo Reading package lists... ...
A.Dumas's user avatar
  • 111
0 votes
2 answers
2k views

If I upgrade my 16.04 to 22.04 Mate, does it affect my git files?

a fairly basic question. I know that in general when you update Ubuntu distros, your files are saved. My question is specifically about git files. Do they have to be reinitialized or what is the ...
Cardio Leo's user avatar
0 votes
1 answer
624 views

How to update a package from github when it was installed using apt-get and latest version not available in the deb repository?

I want to update a package that was installed from the debian repository but the latest version is only available in a git repo. How can I go about updating the package?
Bee Phil's user avatar
0 votes
1 answer
135 views

How to build when there's no makefile or installation script using meson (?)

I am trying to install Dconf Editor. I created a directory, switched to it and then ran git clone https://gitlab.gnome.org/GNOME/dconf-editor.git I looked for an installation script, there isn't one ...
EHJ's user avatar
  • 69
0 votes
0 answers
317 views

How to git clone into a folder?

I have set up ssh keys correctly for the ubuntu user, as I can git clone if I use sudo to chmod 777 a directory. Obviously 777 is not a good idea, it was just to see where the issue lies. So, in my /...
panthro's user avatar
  • 276
0 votes
0 answers
376 views

Which permissions does a folder need to Git Clone into it?

I'm trying to git clone a project onto my Ubuntu server. Yet I get a permission denied error. If I create a new folder with 777 permissions it works. What permission level should a folder have to use ...
panthro's user avatar
  • 276

1
2 3 4 5
17