58,183 questions
0
votes
0
answers
11
views
How to find children of each node using git log
I am currently working on GitGarden, a CLI tool that draws your repos as plants. I want the branching/forking of Github repos to be mimicked in my program, like how trees branch off in real life. To ...
Best practices
2
votes
5
replies
36
views
Is a feature → develop → main workflow with merge commits expected to produce many merge commits?
I am validating whether the following Git workflow produces the expected commit history.
Branching model:
- feature/* → develop → main
Workflow:
1. Create a feature branch from `develop`
2. Commit ...
-3
votes
1
answer
57
views
How to effectively manage syncs between master and feature branch with different set of reviewers?
Given:
The master branch
other branches are merged to it through Pull Requests
The feature branch
the admin can push or force push to it directly
the admin either merges master into it and pushes ...
Best practices
0
votes
2
replies
17
views
How to shrink image size on upload for github user-attachments/assets in repo issues?
If a contributer attaches an image in a github issue (or any other comment) it will be uploaded as is. If the image is large this results in poor usability of that post. Is there a way to shrink image ...
Advice
2
votes
4
replies
34
views
How I can get the Copilot Pro coupon by GitHub Education Benefits
I have applied for GitHub Education Benefits. Can anyone tell me, How I can get the Copilot Pro coupon. If I click on the link, then it shows for subscription.
Also, it shows 'Approved' but why I am ...
-5
votes
1
answer
82
views
I am unable to push to github and I get error 403 [closed]
I started a new repo in github and began working on it; however for some reason whenever I wanted to push my commits with git push origin main
I wound up with this:
remote:
Permission to [myusername]/...
Best practices
0
votes
2
replies
47
views
How do I rebase a fork of a fork in Github? Should I?
I have forked a project (B) in GitHub that is itself a fork of a project (A), like this:
Project A last updated 10 years ago
Project B forked from A 2 years ago and added some functionality I need ...
0
votes
2
answers
54
views
Create a NEW GitHub Project Workflow?
I’ve checked the project settings and confirmed that I’m an Admin. I’m also a member of the other group listed (see screenshot. Is this the problem?).
I’ve searched everywhere I can think of, and even ...
0
votes
1
answer
61
views
Maven cannot resolve dependency for public GitHub package despite correct PAT
My pom.xml file includes the following dependencies:
<dependencies>
<!-- Google GSON -->
<dependency>
<groupId>com.google.code.gson</groupId>
<...
-3
votes
0
answers
47
views
How to automatically include pausable gif in GitHub readme? [closed]
How can one automatically (upon commit) include a gif that can be paused manually in the browser in a GitHub readme?
Based on my understanding, either:
You have a video but you need to upload it ...
-3
votes
0
answers
46
views
Keeping npm dependency from GitHub on latest version
In a project I use an npm dependency which is not hosted in the registry but in my GitHub. After updating this repository I want npm install to automatically pull the latest version.
With a regular ...
1
vote
1
answer
72
views
GitHub Actions scheduled workflow (cron) not triggering, but works with workflow_dispatch
I have a GitHub Actions workflow that is supposed to run automatically on a schedule using cron, but it is not triggering at all. However, when I manually trigger the same workflow using ...
0
votes
0
answers
84
views
Dependabot not raising PR
We have multiple .NET repos. I have set up dependabot in one of my repos, it works as expected. But I'm facing a problem with another repo.
This repo has multiple solution files and different folder ...
Tooling
0
votes
3
replies
40
views
Recommendation of Dynamic Animated SVGs for GitHub Landing Repo Usage (Not common static SVGs)
Question
I am creating a GitHub profile landing repository (the special repository where a README is rendered automatically on the profile page).
Here are some examples of profile landing repositories ...
-4
votes
0
answers
74
views
Github branches overwritten. How to revert? [duplicate]
My private repository was force-pushed by someone (possibly unauthorized) which replaced all branches with a single file and wiped out the previous code.
Someone created an SSH key in the repository ...
Tooling
0
votes
1
replies
15
views
What is the easiest tool for a collaborative database with limited training required?
I have a website on GitHub (not hosted; code is just stored) and want to allow my team access to the database without any extra steps. Our group is volunteer-based, so I would like to have as little ...
Advice
1
vote
0
replies
9
views
TortoiseGit - Pull update in but retain my changes as being in the changed state?
I keep a copy of a github repository local using TortoiseGit on Windows. I have to make my own changes to some of the source and configuration files. Those changes show up in Windows with the icon ...
Advice
1
vote
1
replies
29
views
Which role do id, integration_id and actor_id play in GitHub Rulesets for branch protection and what are their values?
I'm trying to understand which role id, integration_id and actor_id play when used in a GitHub Ruleset that can be imported as a file (e.g. default.json).
Are these ids needed or can they be ommitted? ...
Advice
2
votes
2
replies
94
views
Should a Golang module name follow the name of its GitHub repository?
I am making a Go package. It is located, on GitHub, at https://github.com/eliotttak/go-ansi-colors. I would want that the Go module name would be github.com/eliotttak/ansicolors, because the go part ...
2
votes
1
answer
110
views
Is it necessary to duplicate the SCM section in child modules if the project is on GitHub?
To illustrate the problem, consider a multi-module JavaFX project. The project consists of several child modules (javafx-controls, etc.).
This is an excerpt from the parent pom.xml of JavaFX as ...
Advice
0
votes
1
replies
54
views
Re-generating PAT with GitHub CLI
Is it possible to re-generate an expired Personal Access Token using the Github CLI?
I couldn't find it in the CLI documentation
Advice
0
votes
2
replies
102
views
Keep "duplicate" files after translation in git instead of merging them
I've got a git repository published on GitHub. It has provided a web-based tool in English language. The software was not prepared for internationalization and localization.
Another user has ...
Advice
0
votes
1
replies
61
views
Is there a way to track and verify open-source contributions beyond GitHub’s contribution graph?
I’m a CS student working on open-source projects, where much of my work (forks, private repositories, code reviews, documentation, and issue triage) doesn’t appear on GitHub’s contribution graph. Are ...
0
votes
1
answer
309
views
How can GitHub-hosted runners use Visual Studio 2026 Build Tools (MSBuild 18) for CI builds?
It seems Visual Studio 2026 Build Tools (MSBuild 18) are currently not available on GitHub-hosted Windows runners.
How to install them during a GitHub Actions job?
0
votes
3
answers
161
views
How to clone a large git repo over slow/unreliable connection in a fully automatic/generic/RESUMABLE manner?
git clone restarts from scratch after network failures. Is there a way to clone large repositories incrementally or resumably in a fully automatic generic fashion?
At least, the solution should work ...
-1
votes
1
answer
121
views
Understanding last update in GitHub repositories
When I have a look at https://github.com/openid/AppAuth-Android it looks like this:
Note the nine months at the top. Besides that, all folders and files are at least two years old.
When I check the ...
3
votes
1
answer
156
views
Github Actions '**' pattern matches an unexpected branch
I have the following Github workflow file:
name: test-ci2
on:
push:
branches: [ '**/ci-*' ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: echo "Triggered by **/ci-* ...
1
vote
0
answers
92
views
Azure DevOps Pipeline cannot access GitHub org with IP restrictions when using OAuth service connection
We have a GitHub Organization hosted on a cloud subscription with enterprise-level security controls enabled. One of the key controls is IP allow-listing, where only traffic originating from our ...
Advice
2
votes
5
replies
100
views
I can't build a Slimefun addon for Minecraft, can't collect dependencies
I cloned this forked repo into IntelliJIDEA in a new project and made a few changes here and there, now when I build the jar file, it says:
[ERROR] Could not collect dependencies for project dev....
0
votes
2
answers
121
views
Jupyter kernel can't find local package after editable install
I'm a beginner in Python and GitHub, so I apologize if this is a basic question. I'm trying to make some functions available in any notebook in my project by creating a local package and installing it ...
-4
votes
1
answer
157
views
How can I list all branches from every repository in a GitHub account using GitHub CLI? [closed]
I'm using GitHub CLI and PowerShell, and I want to list all branches from every repository under a specific GitHub username.
gh repo list only returns the repo names, but I want a way to loop through ...
0
votes
1
answer
103
views
Puppeteer "No usable sandbox" on Github Actions with ubuntu-latest (23)
I have some jobs running on Github Actions, that require Puppeteer to run, but it fails to start with this error
Cannot start ChromeHeadless
[2303:2303:1207/162353.403103:FATAL:content/browser/...
Advice
0
votes
2
replies
37
views
VS 2019 restrict Git Changes displayed for solution only files in that solution ignoring other root folders in repository with other solution files
I have a GitHub repository, test samples, that contains several folders each with a separate test or exploratory Visual Studio 2019 solution file and it's associated source files. Each of these ...
0
votes
1
answer
62
views
Nuget Restore Failed in Azure with GitHub
I created a basic ASP.NET Razor pages project called learningapptest.
Then I created a github repository called learningapptest.
I then pushed up my basic ASP.NET project to github. In the Azure ...
0
votes
1
answer
52
views
To access this repository, you must re-authorize the OAuth Application 'Windsurf'
I tried to clone a GitHub repository, but I wasn't able to do it:
_________organization has enabled or enforced SAML SSO.
remote: To access this repository, you must re-authorize the OAuth ...
Best practices
2
votes
2
replies
83
views
How do I manage Supabase migrations across main and develop branches using GitHub Actions?
I’m using Supabase, Next.js, and GitHub with the following setup:
A main branch for production
A develop branch for development
Two separate Supabase projects:
Project A → Production
Project B → ...
Advice
1
vote
1
replies
149
views
Are all my git cloners search engines/AI collection bots?
I have my github account for a quite while. I created this new repository on my account and I saw this git cloners spike this high. Are all these search engines/AI data collection bots? Are there any ...
Advice
0
votes
2
replies
54
views
Pyproject.toml: declare a Github artifact as build dependency
I wrote pybind11 bindings for my C++ library Uno and I'd like to distribute the Python package. Uno has as (optional) dependency BQPD, written in Fortran, that is only available as precompiled static ...
3
votes
0
answers
84
views
One line text highlighting in markdown for GitHub
I am trying to make my README.md for my assignment, and I want to make some color highlighting in markdown. Especially I want to make a color syntax in code blocks where they are in a list . I know if ...
Advice
0
votes
1
replies
99
views
How to read a large Python project (for example, a project of Deep Learning or Reinforcement Learning)
I've downloaded many Python projects about Reinforcement Learning from Github, but each takes me too much time to read.
It's easy to comprehend a simple Python project with only a few *.py files, but ...
-4
votes
2
answers
116
views
How to I resolve fast-forwarding error between local Git and GitHub?
I committed a project to my local Git repository and pushed it to GitHub. I then amended my local commit and tried to push the amended commit to GitHub. That gave me an error:
hint: Updates were ...
Advice
0
votes
2
replies
83
views
Commit old "hobby projects" code stored in local drives to git repository
I have been developing code for hobby projects across ESP8266, Arduino UNO, Python etc. for past 5+ years.
All this code is stored in either local drives of my computer, old hard disks or sent to ...
0
votes
1
answer
66
views
GitHub Actions workflow_dispatch inputs not showing in Actions tab
I’m trying to create a GitHub Actions workflow that manages AWS Secrets Manager (create/read/update/delete). The workflow should only run manually using workflow_dispatch, because it requires user ...
Best practices
1
vote
3
replies
69
views
How to make one commit of several changes on GitHub when working via the GUI and not using command line
First of all, yes, I have read all topics here related to my question. But other questions are based on changes made locally and using command line.
I'm asking about this specific situation: working ...
Advice
0
votes
0
replies
35
views
What is Github policy about distributing closed source software binaries on GitHub?
While it is possible to use GitHub for releasing software with outdated sources or no sources at all,
I wonder how legal it is and how what is official Microsoft position is.
I think for most ...
-2
votes
2
answers
88
views
Change in module behavior for clang in GitHub
I've inherited a GitHub job I don't understand well and that has stopped compiling.
It creates a .a library for iOS.
The source consists of a set of modules, each declared thus:
export module x;
...
1
vote
1
answer
107
views
Why does git fetch origin pause / do nothing / not complete
pre-existing questions are asking about commands that exit with status code 0 -- my command does not exit.
Here is the super verbose output obtained via
GIT_TRACE=true \
GIT_CURL_VERBOSE=true \
...
Advice
0
votes
8
replies
151
views
Why does Git not support nested branching, and how can I design a versioning system that does?
I’m building a file versioning system for my product ThinkNCollab, which includes both a Task Management System and an advanced File Versioning System.
While designing the CLI for the versioning ...
3
votes
1
answer
98
views
How to send secrets from other job
I'm trying to chain two reusable GitHub Actions workflows:
Workflow A (secrets.yaml): fetches secrets from Vault
Workflow B (build.yaml): needs the output DOCKER_CONFIG generated by workflow A
My ...
1
vote
4
answers
112
views
How to get pull requests that were never merged on the original project into forked project on Github
On Github there is a promising repository that hasn't been maintained for years. So there are pull requests from other users that have been ignored.
I have forked the repo. Is there a way to get the ...