Questions tagged [github]
GitHub is a website to share code for software development projects that use the Git revision control system.
180 questions
0
votes
0
answers
70
views
How to report bugs and issues after issues got disabled in a software's GitHub repo?
When I run sudo apt-get update, I get the following error:
Err:8 https://download.opensuse.org/repositories/home:/strycore/Debian_12 ./ InRelease
The following signatures were invalid: EXPKEYSIG ...
0
votes
1
answer
281
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
145
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 ...
1
vote
0
answers
278
views
Bazzite WSL Distro For UE 5.4 Clang Cross-Compile Testing
So basically I would like to create a WSL Bazzite distribution to test the Unreal Engine Cross-Compilation tools for testing. I found this container image hoping I would be able to export as a tar ...
1
vote
0
answers
56
views
SSH agent not offering pub key
Earlier today, I wanted to clone a private git repo of mine from Github and, at first, it would not work, giving me errors about ports & rejected identity. In the end, it worked out (pretty much ...
1
vote
2
answers
1k
views
In the Vim editor, I want to enable Github Copilot manually and have it disabled by default
If one installs the Github Copilot software for the Vim editor, it enables the co-pilot by default, which could be seen as a privacy issue.
I want to disable the co-pilot by default and only enable it ...
1
vote
0
answers
92
views
Capturing stacktraces in CI for intermittent crashes
I regularly run a GUI binary through CI tests using Github Actions. Occasionally, the binary crashes unexpectedly. This issue is difficult to reproduce, so I'd like to capture a stack trace whenever ...
1
vote
0
answers
122
views
Git ls-remote to github fails with classic "SHA-1 not supported" on tunneled ssh session but `ssh -T [email protected]` doesn't
Cross-posting from here as suggested by the community.
A bit of context: At my company we do tunneling to ssh into EC2 boxes. This tunneling command is as usual, uses ForwardAgent and the proxycommand ...
1
vote
0
answers
50
views
Mysql container image behaving diferently between docker and podman in github actions
I have a github workflow that spins up a MySQL container. I'm using podman right now, because that matches our development workflow, but I'm seeing some weird differences in behavior between "...
2
votes
2
answers
7k
views
Getting error when i load SSH key "Load key "/root/.ssh/id_ed25519": error in libcrypto"
Long story short I have an SSH key pair that I am copying to a new machine from a shared drive whenever the machine starts but when I load in the keys I keep getting an error. There is no difference ...
-5
votes
1
answer
495
views
How to access git repository whilst using brew command?
I am trying to install a package using brew but it is asking for Github username and password and failing to authenticate the connection even though I have added the ssh key to the Github. Can you ...
-5
votes
1
answer
101
views
What's the deal with gitlab (and github?) security? [closed]
I just wanted to raise an issue (ie. report a bug) in some software package hosted on gitlab. I have a github account, but not a gitlab one.
Whenever I log in from a new device (github), I need to &...
0
votes
1
answer
668
views
sudo: a terminal is required to read the password; a password is required Error: Process completed with exit code 1
I was running a built successfully from my editor to github and suddenly I started getting this error at the end of the build on github
sudo: a terminal is required to read the password; either use ...
0
votes
1
answer
599
views
systemd service for ssh-agent with loading of identity files for each login
I am trying to set-up an automated way to load my ssh keys at login.
I have the below configured:
❯ cat .ssh/config
Host github
HostName ssh.github.com
User git
Port 443
AddKeysToAgent ...
0
votes
1
answer
778
views
In a yocto recipe, what selects the release to download from the GitHub repository?
I'm using yocto to build my custom Linux distribution. I need to add hiredis to my distribution. hiredis is a minimalistic C client library for the Redis database, and I need it to access Redis by a C ...
0
votes
1
answer
308
views
Automatically add ssh key based on directory I'm in
I have two GitHub accounts. One for personal use, and another for business. Each is set up with its own SSH key gh_personal and gh_business inside ~/.ssh.
I have a personal project that sits in ~/code/...
0
votes
1
answer
72
views
Efficiently Tracking and Updating configs (dotfiles) from Multiple GitHub Repositories
I'm tracking several GitHub repositories, from which I often fetch configuration files for tools like mpv and hyprland. Given that these repositories frequently receive updates, I'm seeking a more ...
0
votes
1
answer
127
views
password to linux changed after deleting/manipulation with ssh
Unfortunatelly I made mistake somewhere but can't get where. I had issues with ssh and github, tried different things and they didn't work. Later I decided .. i think.. moved file i balieve it was ...
0
votes
1
answer
460
views
Installing PongoOS fork on Debian results in no makefile binaries
I am attempting to install this fork of PongoOS onto Debian 12.1 using these instructions and the last step I have taken was enter the following into the terminal:
EMBEDDED_CC=clang EMBEDDED_LDFLAGS=-...
1
vote
2
answers
1k
views
chmod command output: cannot access '/root/server/app.sock': No such file or directory while file exists
I run the command sudo chmod 777 ~/server/app.sock on my server and it works appropriately and changes the permission.
However, when I run this command through github action, it doesn't work and says:
...
1
vote
1
answer
448
views
prompt in git hook?
I'm trying to implement an option to skip a pre-commit hook (which will be considered pass and perform the commit) in a pre-commit hook.
Everything is running fine except the prompt which reads an ...
0
votes
0
answers
1k
views
fatal: unable to auto-detect email address (got 'root@pegasusv.(none)')?
pegasus@pegasusv:/linux_work/linux_stable$ sudo git commit -a
[sudo] password for pegasus:
Author identity unknown
*** Please tell me who you are.
Run
git config --global user.email "you@...
2
votes
1
answer
547
views
SSH: Permission Denied github
I created a script to create remote repositories on github and in case the machine has more than one user who access the script to create remote repositories and for that I need a github token key I ...
2
votes
3
answers
3k
views
Extract version number from github repo
Hello I'm trying to extract a version number from a github release site. Which I later need for a Ansible role.
For example I want to get the exact neovim version number of the latest release from ...
1
vote
0
answers
71
views
Older version of git sporadically finds bad RSA host keys in known_hosts
I'm using an older version of git (2.8) on an older box (RHEL6), and I’m noticing some odd behavior.
When the recent github RSA key exposure incident first happened and I did a git pull, I saw error ...
2
votes
0
answers
537
views
Error when trying to clone repo from GitHub Desktop on SteamOS
I'm having an issue with GitHub Desktop when trying to clone a repo on SteamOS.
It's a new Steam Deck. Fairly fresh out of the box. I installed GitHub Desktop from the Discover store.
In GitHub ...
-2
votes
1
answer
380
views
Is Git hiding files on my computer?
I've accidentally created two branches for my Git repository: main and master, which I now need to merge.
However, when using ls on the command line while checked into main branch, some files on my ...
1
vote
0
answers
784
views
Command in Github Action unexpected output
I'm trying to compile all my C projects within an Action on GitHub.
This is the command I'm running:
\! find . -name Makefile -type f -execdir make re \; 2>&1 | grep -qF 'Error 1'
It exits 1 ...
1
vote
0
answers
474
views
Whenever I commit and push a file to github, a duplicated ending with ~ appears in my local and remote repository
I am a beginner in Linux and I am still navigating my way aroung the terminal and file manipulation. Whenever I commit and push a file to my github, a duplicate is created alongside it. Can I delete ...
1
vote
0
answers
138
views
How to remove authentication with gpg-agent/git-credentialmanager to pus to a public repo?
I have a azure devops repository which I have made public recently. Before it was private and I used the git credential manager and gpg-agent.
If I want to push my changes I will get the error:
$ git ...
3
votes
1
answer
4k
views
Why git asks for username when ran inside a script?
I have a Push command, that runs this script:
FindGits |
{
while read gitFolder; do
parent=$(dirname $gitFolder);
if [[ `git -C $parent status --porcelain` ]]; then
...
2
votes
1
answer
906
views
Ubuntu-latest GitHub runner cannot Connect to localhost API
What specifically needs to be changed in the below in order for a program running on an Ubuntu-latest GitHub runner to successfully connect to a Twisted web server running on localhost of the same ...
1
vote
0
answers
91
views
Random timeout on basic operation in bash
Context
I have a GitHub Action running on a linux machine.
It does the following (might want to skip to problem first as most of this might be irrelevant):
pwd: /home/runner/work/net.twisterrob....
2
votes
1
answer
5k
views
stable alternative to apt-get in scripts?
apt-get gives the following warning when some of the commands below are run by a GitHub Action on an Ubuntu-lastest GitHub runner:
WARNING: apt does not have a stable CLI interface. Use with caution ...
1
vote
1
answer
220
views
Broken `cron` gh-action workflow
I write as an exercise the GitHub action workflow below.
name: Cron CI
# Controls when the workflow will run
on:
# Triggers the workflow every day minutes
schedule:
- cron: "01 10 * * 6,...
1
vote
0
answers
554
views
Can't ping github.com and duckduckgo.com, able to resolve their DNS
just finished setting up arch linux for the first time. The problem I was facing is originally is slow download speed from github when using
git clone
When I looked further I saw I couldn't
ping ...
1
vote
0
answers
2k
views
Unable to git pull with ssh, even with properly configured ssh key
Long short story, when I try to git pull, the following error is showing :
$ git pull
key_from_blob: remaining bytes in key blob 36
key_to_blob: unsupported key type 9
Permission denied (publickey).
...
1
vote
1
answer
109
views
Bash - How to make dynamic menu selection without eval
I'm making a script for Docker environments, and I'm a bit stuck with a pigeonhole I've gotten myself into.
#!/bin/bash
set -euo pipefail
# Variables
gituser="modem7"
gitrepo="docker-...
1
vote
0
answers
45
views
How can I compile TCLAP and link it with CLUSCO?
I need to use an app named CLUSCO, whose git is hosted in BitBucket.
This app uses a library called TCLAP, whose git is hosted in GitHub.
I tried to follow the installation instruction supplied by ...
2
votes
1
answer
916
views
Ubuntu Server - can't connect to github
I am unable to use github from the command line on a newly installed Ubuntu server. Pinging and curling github fails but works fine for other hosts.
OS: Ubuntu 22.04.1 LTS
Ping test
# google works ...
1
vote
1
answer
209
views
bash unable to interpret cli command that uses curly braces in GitHub Ubuntu
What specific syntax needs to be changed in the aws s3api cli command below in order for the bash shell to interpret the command properly?
The environment is an ubuntu-latest GitHub runner executing a ...
2
votes
2
answers
6k
views
Connection to github.com closed by remote host
Problem is exactly as reported in
HPC ssh "connection closed by remote host"
Connection to host closed by remote host. Exit status -1
But it is not the "ssh_exchange_identification:&...
0
votes
1
answer
149
views
bash not parsing multi-word string into cli command
What specifically needs to change in the -f body=$DESCRIPTION flag of the gh api CLI command in the GitHub workflow below
in order for a multi-word string such as "Lots of new stuff" to ...
0
votes
1
answer
507
views
How to copy files to sourceforge in non-interactive request for password?
I want to automate the copying of files to Sourceforge with GitHub Actions.
I get problems when I copy files in non-interactive mode. For eg:
scp <file on laptop> <folder in sourceforge host&...
0
votes
1
answer
2k
views
Add executable to Ubuntu-latest PATH using GitHub workflow
This problem is reproduceable in any GitHub account using the minimal code given below.
The two files myapp.py and .github/workflows/myworkflow.yaml given below are all you need to reproduce this in ...
2
votes
1
answer
2k
views
Is it possible to download a file without knowing full name?
Sorry for asking what is probably a noob question.
I'm new to the GitHub and DevOps environments, and I've been tasked with automating some stuff.
I've found a project on GitHub that is still ...
0
votes
1
answer
520
views
Persistent os-level environment variables in ubuntu-latest GitHub runner
What specific syntax must be changed below in order to set an OS-level environment variable that can be consumed by a python app through os.environ in an ubuntu-latest GitHub runner from a GitHub ...
6
votes
1
answer
4k
views
Getting jq error when using variable in command line
I am using jq to get the tag_name index with the script:
curl \
https://api.github.com/repos/checkstyle/checkstyle/releases \
-H "Authorization: token $GITHUB_TOKEN" \
-o /var/tmp/cs-...
2
votes
0
answers
594
views
wine32 installation error on ubuntu 22.04 github actions
I'm trying to install wine32 on ubuntu 22.04 (github actions) but I'm getting this error:
apt : Depends: libapt-pkg6.0 (>= 2.4.5) but it is not going to be installed
Depends: libsystemd0 ...
0
votes
1
answer
97
views
How can I set up my Github Account to work in each terminal session?
Every time I want to clone one of my repos, I have to enter my Github account name and access token. How can I add my github account to my terminal?