58,245 questions
-1
votes
0
answers
28
views
List projects that have at least one branch
In my app I am listing projects with GitHub GraphQL.
I process their branches so I want to ignore projects which don't have any branch. I am not sure how to do that.
Currently I have the following ...
0
votes
0
answers
37
views
Running GitHub Actions after other action and only on tag [closed]
I want to run my GitHub Actions Workflow only after another has finished and if the push was a tag.
Currently I have following logic:
name: Production Deployment
on:
workflow_run:
workflows: [&...
-6
votes
0
answers
31
views
Github repository troubleshoot [closed]
I have made an HTML page live, but it is not showing in the given link. Rather, it displays the repository name. What do you think I have done wrong & how should I solve it?
Advice
0
votes
1
replies
78
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
1
answer
49
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
53
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
36
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 ...
-3
votes
0
answers
27
views
Why do I not get GitHub notifications? [closed]
When I create issues on GitHub repos, I do not get email notifications from GitHub upon comment or update, even though the bottom right corner shows me as Subscribed and in my account settings I have ...
-9
votes
0
answers
47
views
How can i link stripe so my appnis fully functional? [closed]
I have built an app through from google ai studio, put it in github , hosting on vercel and want to add stripe for payments. I've add keys to vecel but my domain won't load to sripe. I need help so my ...
-1
votes
0
answers
53
views
Why am I getting fatal: Unable to create '.git/index.lock': File exists even when no Git process is running? [duplicate]
I get this error:
fatal: Unable to create 'C:/Users/HP/.git/index.lock': File exists
There is no other Git process running.
Is it safe to delete the index.lock file manually?
Best practices
1
vote
3
replies
62
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
24
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
80
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
96
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
125
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
61
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
100
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 ...
-1
votes
1
answer
90
views
GitHub Action with persistent state
I have two GitHub action steps that require persistent state between calls.
So far, I've solved that with a small virtual machine (1 CPU, 256MB RAM) that acts as a custom runner accepting only a ...
Best practices
0
votes
4
replies
92
views
How can I keep my main branch clean while still getting daily GitHub contribution activity?
The problem is that committing to the main branch every day makes the history messy, but commits made in other branches do not appear in the GitHub contribution graph (the green boxes).
What can I do ...
1
vote
1
answer
48
views
Is there a way to review PR's (GitHub) within IntelliJ IDEA
Using IntelliJ IDEA 2025.2.4. Our repos are private in a GitHub organization. I want to review the PR's within IntelliJ IDEA. I know it's possible via the native GitHub plugin of JetBrains. But ...
1
vote
1
answer
116
views
GitHub and squash merge being overridden when PR is approved
I was having a look at the history of my main branch in Git today, and I noticed that, despite the fact that I've configured branch protection of the main branch, and only allowed merging squash ...
0
votes
0
answers
95
views
Git: fatal repository not found
Our company migrated our source code from a local gittea server to Github.com. I have orchestrated the entire migration with 99% succes. I made manuals, scripts and I moved the repositories.
We have ...
-1
votes
1
answer
46
views
Navigation Links are not working when published
<div class="nav-links">
<span class="material-symbols-outlined" id="closeMenu">close</span>
<a href="../Welcome/...
0
votes
0
answers
63
views
GitHub API endpoint no longer returning results for referral sources
When querying the referral sources endpoint on GitHub I'm only getting an empty list returned. I can get data for other endpoints in the same repo, even for other traffic endpoints. I'm expecting ...
Advice
0
votes
1
replies
68
views
Basic pull and push with GitHub
I am using Sublime Merge, for macOS 15.6.1 to git. I did not use it for a while now and it seems that I am unable to do the basic pull/push from GItHub. It asks for the username and Personal Access ...
0
votes
0
answers
63
views
GitHub Actions iOS build fails with “Exit status 65” – works locally with Xcode 16.1
I have a React Native project that builds and uploads successfully using Fastlane on my local Mac (Xcode 26.1).
However, the GitHub Actions iOS build fails with the following error:
** ARCHIVE FAILED *...
0
votes
0
answers
21
views
Where should wrapped Azure Verified Modules (AVM) be stored in GitHub — Repository, Release, or GitHub Packages?
I’m currently working with Azure Verified Modules (AVM) and have successfully wrapped a few modules with organization-specific variables, policies, and standards. Our codebase is managed in GitHub, ...
1
vote
0
answers
90
views
Using `git lfs` with SSH on GitHub gets stuck at `git-lfs-transfer`
I noticed that git lfs operations (push or pull but especially push) with GitHub keep getting stuck running git-lfs-transfer. This is slowing down all of my git operations which call git lfs via hooks....
-3
votes
0
answers
39
views
Remove Git log history [duplicate]
Issue:
Some code containing a Client ID and Client Secret was accidentally pushed to the integration branch. Although those changes have now been reverted, the issue is that multiple branches had ...
-4
votes
0
answers
49
views
How to transform an evaluated expression to upper-case in GitHub Actions? [duplicate]
Is there a way to transform the ${{ matrix.os }} expression to uppercase text?
I tried using toUpper() and upper(), but they didn’t work, and GitHub Actions refused to run the workflow with these ...
2
votes
2
answers
83
views
All files from a forked GitHub Repo are locked (blue padlock) in VS2022 [closed]
So I am having some major issues with Visual Studio 2022 and a GitHub-forked repository. The repository is under my own GitHub account - the same one as on my VS. The problem doesn't seem to come ...
Advice
0
votes
0
replies
36
views
How do I migrate and import my interactive maps from fandom.com to my GitHub repository for use as GitHub Pages
I used to have a wiki on Fandom but the service doesn’t like it if you have a private wiki, so I asked the WikiTeam on GitHub, who are not affiliated with Fandom, to export dump my entire wiki on ...
1
vote
1
answer
52
views
How can I run multiple CodeQL query suites in a single GitHub Actions workflow?
My goal is to run multiple CodeQL query packs and suites (like security-extended and audit) in one GitHub Action workflow, and ideally merge the results into one SARIF file for upload to GitHub Code ...
0
votes
0
answers
66
views
How to map user contributions after move from GitLab to GitHub?
I just successfully moved a project from GitLab to GitHub. Our entire team have accounts on both platforms and everyone has read/write access to the new GitHub project.
For some contributors, GitHub ...
-3
votes
0
answers
29
views
How to add a blank JSON template in GitHub once and ignore it? [duplicate]
I have a JSON file with real data in my repository that is already in .gitignore, so it's not pushed to Github. In Github, this file does not exist. I want to add a blank JSON file to Github so others ...
1
vote
1
answer
82
views
How is the branch used for GitHub environment protection rules "calculated"?
I have set up a GitHub Actions workflow like:
on:
pull_request:
types: [ closed ]
branches: [ main ]
and an environment with protection rule that only allows branch main used by some of the ...
1
vote
2
answers
100
views
Permission denied when pushing to a forked repository (403 error on GitHub)
I forked a GitHub repository from my friend’s account, but when I try to push my commits, I get this error:
remote: Permission to Fatima-Ennouari/test.git denied to Ridafadli.
fatal: unable to access ...
0
votes
1
answer
53
views
AWS CodeDeploy Authentication Error with GitHub Account
I am trying to connect my personal GitHub account to AWS CodeDeploy so I can use that as a revision source.
I've followed this guide on setting this up.
When it comes to the actual integration with ...
-3
votes
1
answer
97
views
Use GitHub workflow to prevent issue being closed
I have a workflow that checks submitted code for TODO: comments to enforce that all of them mention an open issue like TODO: #123 - handle symlinks. It works well and prevents submitters from ...
-1
votes
1
answer
50
views
Github composite outputs "suddenly" not propagating to the next job
I'm doing Infrastructure as Code for a project and it involves setting up the Azure infrastructure via Github workflow.
What i do in my composite is:
Create a resource group
Build bicep files
Run &...
0
votes
1
answer
190
views
Assigning Github Issue to Copilot Fails using GraphQL
I'm working in a python based repo and I'm trying to develop a flow where I look for Asana tasks in a specific project and when new ones are found, create a github issue for them and assign them to ...
0
votes
0
answers
100
views
Failed to sign in to GitHub Copilot in VS Code (Pro account)
I’m having trouble signing in to GitHub Copilot Pro inside VS Code.
I previously used the free trial version and it worked fine, but now after subscribing to Copilot Pro, I keep getting this error:
“...
1
vote
1
answer
47
views
GitHub Actions workflow conflicts with branch ruleset when publishing NPM package on PR merge
I’m trying to automatically build and publish an NPM package to my GitHub repository using GitHub Actions.
The workflow runs on pull requests and performs these steps:
Run tests
Check linting
Publish ...
2
votes
2
answers
103
views
Github doesnt show my commits in my activity overview
I have a private GitHub repository that I cloned to my local machine. My first two commits show a different author than my subsequent commits, and they are not showing up in my GitHub contribution ...
2
votes
0
answers
84
views
SSH authentication works but git pull fails on GitHub repository [duplicate]
I'm experiencing a strange behavior with Git/GitHub.
I'm trying to pull changes from the remote repo, but keep seeing
[email protected]: Permission denied (publickey). The funny thing is that ssh -T git@...
0
votes
1
answer
73
views
Changing push email for GitHub
I want to push commits to GitHub and followed the directions from How to Use Git/GitHub with R. Unfortunately, I ran into issues running the following code as my personal email is private.
library(...
0
votes
1
answer
32
views
Allowing my BMAD agents to read the local repository
I am a newbie to using BMAD. Do you know how to allow the agents to access my local repository and let them read my code so they can suggest improvements?
2
votes
4
answers
103
views
Cloning repository to local, then removing repository connenction?
I'm building a data science project based on a company repository. I only need to read the data, including past commits, issues, and build logs, and I want to ensure I don't accidentally push or write ...
0
votes
1
answer
34
views
Glob in CODEOWNERS matching less than a hardcoded name
I have a test repo with these files:
/a/test.txt
/a/b/test.txt
/a/b/c/test.txt
/a/b/c/d/test.txt
If I create a CODEOWNERS file containing just a/b/c @me, then I become the codeowner for /a/b/c/test....
0
votes
3
answers
125
views
How to rebase branch on top of master and discard master's conflicting commits
I have a repo with diverging master and Feature branch,like this:
master: A -- B -- C -- etc.
\
Feature: \-H -- I -- J
I now realize that all the commits in the master ...