Skip to main content
-4 votes
1 answer
128 views

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 ...
Charan Munur's user avatar
2 votes
0 answers
291 views

I would like to get the Github CLI to give me JSON output including all JSON fields (I find it easier to see what's available and useful by quickly checking example output rather than deciphering ...
Cornelius Roemer's user avatar
3 votes
1 answer
349 views

Problem Summary All Personal Access Tokens return 401 Bad credentials when using curl or direct API calls, but GitHub CLI authentication works perfectly. This affects ALL tokens including newly ...
Rebuild Factoryz's user avatar
0 votes
1 answer
152 views

I have done the following: Create a folder called "TestGitHubCliRepo". Create a file named "README.md" inside the folder. Go to the folder in terminal. Run git init. Run gh repo ...
Mr. X's user avatar
  • 1,037
0 votes
0 answers
69 views

I have owner rights on different GitHub organizations and admin rights on a lot of the repositories in these organizations. I am now working on a script that can create and delete repos using gh. So I ...
hepabolu's user avatar
  • 1,294
-1 votes
2 answers
137 views

I was using gh cli to create a new repository and clone immediately to use using the gh repo create <reponame> --public --clone and involuntarily I pushed on the main branch and realized that gh ...
Rakshit Ambi's user avatar
0 votes
0 answers
133 views

We have a github project with custom field such as Sprint and story points. Below is the sample query that I am trying using Octokit.GraphQL.Net var query = new Query() .Repository("my-repo",...
Praveen Raghuvanshi's user avatar
1 vote
1 answer
604 views

Looking at this documentation I can use curl version of the provided example: curl -L -H "Accept: application/vnd.github+json" -H "Authorization: Bearer GITHUB_CODE" -H "X-...
dododo's user avatar
  • 4,845
0 votes
1 answer
258 views

I am the admin of my github organization. I want to get organization member emails from their username. I have the following gh cli command that will give me all members, but I want a specific member. ...
Rosey's user avatar
  • 871
0 votes
0 answers
31 views

I have a project in visual studio code, but has to port forwarded through the Ports tab's port forwarding feature. I am trying to make a powershell/batch script to automate the awkwardly long process ...
Jude Hopper's user avatar
0 votes
1 answer
187 views

I have a jq process that looks at the values of a JSON file, checks a few things, and then determines if the current object is available to perform something against. The problem I have right now is ...
Adam J's user avatar
  • 508
-1 votes
1 answer
329 views

I am using Superlinter actions in GitHub Actions for code linting. I would like to trigger action once issue is created, and capture error that is raised by SQLFluff (Linter in SuperLiner) into the ...
biggboss2019's user avatar
0 votes
2 answers
383 views

I would like to automatically close the issue once it is created. For this I referred to Actions marketplace and this action. Currently my code in YAML file looks like below. GitHub token is saved in ...
biggboss2019's user avatar
1 vote
1 answer
106 views

I recently started using the GitHub CLI to manage multiple GitHub accounts on the same device. However, I've been unable to push code to a repository I was added to. I've checked, and the account I'm ...
David Ekete's user avatar
-1 votes
1 answer
47 views

I needed to switch github accounts to push something to a company github account. I tried to change to my new username but constantly get rejected. remote: Permission to Company/project.git denied ...
dylatwork's user avatar

15 30 50 per page
1
2 3 4 5
15