Questions tagged [git]
Git is a distributed revision control system with an emphasis on speed.
767
questions
0
votes
1
answer
31
views
cp: cannot stat '~./project_name/*': No such file or directory
Project is on the branch main. Deployment on branch gh-pages from path: ~./project_name/output at push to main.
System: ubuntu 20.04 to wsl2.
Which paths(parameters) should be specified for the cp -r ...
0
votes
0
answers
29
views
Command lnd not found even after installing lnd
I tried installing lnd using the commands shown in the installation guide.
I used these commands:
git clone https://github.com/lightningnetwork/lnd
cd lnd
make install
but when I try running the lnd ...
0
votes
0
answers
14
views
vscode GitLens - open changes ( difftool ) fails to open - can't find the temp file created by git in tmp folder
After upgrading ubuntu from 18.04 to 20.04, Vscode GitLense extension can't open the diff tool or diff tool opened but report that the temp file created by git is not found.
If I run the diff tool ...
0
votes
0
answers
28
views
Permission denied when trying to do any operation on folder
I am getting permission denied every time I try to delete a file, do a git stash or just try to do any operation in vs code so my question is, is there any way to get what is holding up a file/...
0
votes
1
answer
33
views
vscode git not working "folder currently does not have a git repository"
vscode: I cannot see anything in my git panel for vscode.
vscode integration for git does not work.
When I open up my old git directory on my data drive, it says:
the folder has no git and cannot ...
0
votes
1
answer
39
views
Gitkraken Commits coming through as different user
I am using git kraken and I am signed in using github. When I do this I get success Github is linked with Git Kraken message.
My commits push to my repos on github just fine however they come up under ...
0
votes
0
answers
52
views
what i need to fix to install git. that's the answer that the terminal return
Here's is the return in english.
emiliano@emiliano-G42-240BR:/$ sudo apt install git
[sudo] password for emiliano:
Reading package lists... Done
Building dependency tree
Reading state ...
1
vote
0
answers
35
views
Git returns error when started from cron
My ubuntu's cron runs a PHP script as www-data to collect statistics by executing git diff --shortstat, it has been working for a month or so, however, starting 2 days ago, no results were returned.
...
0
votes
1
answer
16
views
how can I setup git server with permission control using ssh key?
I tried running git server with ssh key control but it doesn't work. For my personal git usage, I have no problem setting up git server and using it alone. Now, to operate a git server with ...
0
votes
0
answers
62
views
SSH error while connecting to host, using a Identity file in a custom directory: ERROR:gitosis.serve.main:Need SSH_ORIGINAL_COMMAND in environment
The question is about issues faced while using ssh to connect to a remote host (mainly, git), using a custom config (like port, identify file, .ssh folder location, etc).
Configuration details:
Laptop:...
0
votes
1
answer
47
views
Cannot "ssh -T git@github.com" nor ping external sites [closed]
I have the necessity to work with a Ubuntu 18.04 virtual machine for some other years as I wrote some software for my studies for that version of Ubuntu.
Possibly for some update, I cannot use git and ...
1
vote
0
answers
180
views
Cannot install Git on Ubuntu 21.10
When I was trying to install Git on Ubuntu 21.10, I get an error. The command I used to install git is:
sudo apt update
sudo apt upgrade
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo ...
0
votes
0
answers
40
views
Cannot compile Ubuntu kernel for AMD64 from GIT source
I need to test a LKM using several old kernel versions which I have to take from GIT.
Based on the Ubuntu wiki pages BuildYourOwnKernel and KernelGitGuide I'm following the below recipe:
$ git clone ...
0
votes
0
answers
16
views
Git autocompletions raises the error "bash: [: -lt: unary operator expected" [duplicate]
In a Ubuntu 21.10 (new computer with setup)
with git version 2.32.0
and bash version 5.1.8(1)-release (x86_64-pc-linux-gnu)
I can't use alias for git checkout because it generates the error bash: [: -...
0
votes
1
answer
656
views
Permission denied could not read from remote repository
I am attempting to clone a git repo from inside an ubuntu 20 server, but after it permanently adds my ECSDA key, I get the following error:
git@github.com: Permission denied (publickey).
fatal: Could ...
0
votes
1
answer
86
views
VIM, ESC key doesn't work - Ubuntu 20.04
I'm using Git to control the different versions of my project. When reverting to a previous commit it shows a VIM terminal as expected.
Theoretically I should press ESC to write my command, but ESC ...
0
votes
1
answer
113
views
How to use KDevelop with github?
Previously I used VSCodium for my C and C++ programming needs. But I a beginning to like KDevelop more. There is actually 2 things that I'm unable to setup properly on KDevelop: Github integration and ...
0
votes
1
answer
94
views
How do I change the text editor used by Git to micro?
I like the Micro text editor. I prefer it to nano, personally. However, even when I have it installed, Git defaults to nano. How can I change what text editor git commit uses?
0
votes
0
answers
100
views
Git Clone: GnuTls recv error (-9) Unable to decode TLS packet
I am trying to install Openstack through Devstack (Ubuntu server 20.04) and during installation dealing with above issue when setup starts cloning heat.git.
So far I have updated ca certificates and ...
0
votes
0
answers
104
views
Installation of Openstack using DevStack on Ubuntu Server 20.04
I am having AssertionError while setuptools replacing disutils. I am installing on ubuntu server 20.04. Below is screenshot of Error I am getting.
I am totally new to OpenStack, any suggestions ...
2
votes
1
answer
115
views
Error when trying to uninstall/reinstall git
I have tried to reinstall git after having errors with pulling an update from github. I've found that there is an error with libc-bin. Can anyone give me pointers here? Thanks in advance, the whole ...
1
vote
1
answer
91
views
How to Compile Calindori via Git? Unknown cmake command
I'd like to use Calindori, it is not in Synaptic repo, nor can I find a Snapd or Flathub for Calindori.
Link to the compile directions I attempted to follow:
https://invent.kde.org/plasma-mobile/...
2
votes
0
answers
87
views
How can I find dirty git repositories across filesystem on Ubuntu 20.04? (with not commited or not pushed changes)
Is there any tool that would
scan my filesystem
list git repositories where some changes are not committed
list git repositories where some changes are not pushed to origin (or currently active ...
0
votes
1
answer
194
views
is it possible to git clone from one local directory to another local directory on ubuntu
I have created two directories on my local machine. One is named dev_projects and another is named git_projects. I have a project folder in git_projects. I wanted the project inside the git_projects ...
1
vote
1
answer
143
views
Git can't access SSH key after every laptop restart
So I have set up SSH key on my Ubuntu 20.04 with this guide. The problem is that every time I restart my machine and try to use the SSH key with git pull or some command that requires SSH auth it says ...
0
votes
1
answer
62
views
How to copy partial contents (specifically few sections denoted by square brackets) from one file to another with shell script?
I have one project's .git/config file in which I have following contents:
[user]
name = <FullName>
email = <EmailID>
username = <UserName>
[core]
editor = nvim
...
0
votes
1
answer
334
views
git cant authentication
I'm a developer that has switched to ubuntu and I can't get git to work. I have logged in to git but I still get
> git push origin main:main
remote: No anonymous write access.
fatal: Authentication ...
0
votes
0
answers
168
views
How to make "awesome-terminal-fonts" to work?
I'm trying to configure awesome terminal fonts on Xubuntu in order to have correct icons when using Oh my Git. I followed the installation instructions which are the following:
How to install (Linux)
...
1
vote
1
answer
722
views
fatal: Authentication failed "https://...." on ubuntu
I'm not able to push or pull any changes and I keep getting this error when ever I try to
git push origin username, I have tried the other commands like
git config --system --unset credential.helper ...
13
votes
3
answers
2k
views
What is the difference between git add * and git add .?
What is the difference between commands git add * and git add . when I put parameters * and . accordingly? What list of files system returns in both cases?
0
votes
1
answer
33
views
after installing openjdk 16 and android studios on different user git and docker permissions are completly destroyed
OS Version: Ubuntu 20.04
Yesterday i installed openjdk-16 and android studios on a different user account. Sinds then my docker-rootless doesn't work and if i do git commands its fine but when i do ...
3
votes
0
answers
125
views
Git status is very slow on one PC
I am not sure if this is an ubuntu issue or a git issue ...
I have two PCs
one is an ubuntu VM (call it VM PC)
the other is an Ubuntu PC (call it Build PC)
Both are running Ubuntu 18.04.
Both are ...
0
votes
1
answer
157
views
Cron job doesn't run script python in the specific directory
I created a simple python script to add, commit, and push all files in some directory. I want to do this daily by a scheduled cron job. But unfortunately, the script doesn't run. Before this, I do ...
1
vote
1
answer
78
views
Downloading off gitlab onto Ubuntu
I am very new to Ubuntu and have just downloaded it using WSL. I am trying to download something off of Gitlab but I get an error and have no idea where to start.
I am trying to download Foam-Extend 4....
2
votes
1
answer
737
views
git: symbol lookup error: git: undefined symbol: pcre2_maketables_free_8
Git is not working for me after updating to Kubuntu 21.10.
When I try to execute any git commands I get the following error:
git: symbol lookup error: git: undefined symbol: pcre2_maketables_free_8.
I'...
4
votes
1
answer
185
views
Bash completion for git branches broken after upgrading to 21.10
I can't remember where I got this bit of script from, but my .bashrc contains the following lines:
# set up autocomplete for git aliases
if [ -f "/usr/share/bash-completion/completions/git" ]...
0
votes
0
answers
49
views
GIT Instalation - Package git is not available- Ubuntu 18.04 [duplicate]
I have encountered the following issue when i try to install GIT using sudo apt-get install git. Anyone can help?
~$ sudo apt-get install git
Reading package lists... Done
Building dependency tree ...
0
votes
1
answer
48
views
i ran the following command on docker it shows the folllowing error how to get rid of this?
I ran the following command on docker and got the error below. How can I fix this?
FROM compiler-common AS compi
ENV DEBIAN_FRONTEND=nonintera
RUN apt-get install -y --no-i
git-core \
checkinstall \...
5
votes
1
answer
1k
views
Can Wine run Fork, the git client?
I'm new to Linux and the only contact I have had with Wine-like software is through Steam's Proton, which works surprisingly well (though it is taylored for their platform, so it makes sense to work ...
2
votes
2
answers
819
views
Problems with git clone
I have a problem cloning a repo when I use http:
git clone https://github.com/burbanox/responsive-design.git
throw me an error :
fatal: unable to access 'https://github.com/burbanox/responsive-design....
1
vote
1
answer
165
views
How to upgrade Mozc in my Ubuntu 21.04 to the latest build from Github?
I just bumped into this issue myself. tl;dr good news: it's already fixed few months ago in official git source codes. Bad news: latest version of Mozc available for Ubuntu 21.04 in it's repositories ...
0
votes
0
answers
142
views
how to resolve the error installing and uninstalling mysqljs/mysql caused
immediately I installed mysqljs/mysql my IP address started throwing the error:
502 Bad Gateway
nginx/1.18.0 (Ubuntu)
and even after I uninstalled it my IP is still having the same error. I then ...
0
votes
0
answers
188
views
how can i 'git fetch' in one line?
i hope to use git fetch in one line command because it's so annoying to enter my account and access token... so i used alias like this.
$ alias fetch='cd ~/project; git fetch < ~/gitAccount'
$ ...
0
votes
0
answers
21
views
etckeeper git backup on LAN server via SSH fails
I have a 20.04 server on my LAN.
It runs a local git and etckeeper successfully
I can SSH in using certificates/key from anywhere in my lan including local nameresolution via bind9 (ie passwordless)
I ...
1
vote
2
answers
70
views
How to show title of gitk instance in application switcher?
I usually have multiple instances of Gitk open while working on projects. When I switch between Gitk windows I cannot see which Gitk instance belongs to which project, though.
The project title is ...
0
votes
0
answers
17
views
how to show changes on local repository on my website
Help please, I have setup my server and git, cloned my repository to my local machine, pushed the changes to my remote server and I created a post-receive file in my git repository that has all my ...
0
votes
0
answers
79
views
Try to installing git on pipenv
I'd like to install ERP software and I want to install it using pipenv as package management. First of all the dependencies is listed in odoo github and I'd like to copy it to my computer. Apparently ...
-2
votes
2
answers
290
views
My pipe is not working in my if statement
I have this script to check git status for all of my repositories:
find / -type d -name .git 2>&- |
while read gitFolder; do
if [[ $gitFolder == *"/Temp/"* ]]; then
...
0
votes
0
answers
29
views
How can I use one ssh key from my local machine to my server and to git hub?
Is it possible to use the same ssh key created on my local machine that I used to connect with my server, on my server to use it to connect to my github repository, if it is can I know how please ...
1
vote
1
answer
136
views
Sudo Problem: Need Help with Github and My teams ssh keys
I cannot seem to find a question that completely relates to this. I'm using ubuntu 20.04 and my project is stored in /var/www/html/My_Project
Currently I work with a team of five and when we push or ...