Questions tagged [github]
GitHub is a web-based hosting service for software development projects that use Git for version control. Use this tag for questions specific to problems with repositories hosted on GitHub, features specific to GitHub, and using GitHub for collaborating with other users. Do not use this tag for Git-related issues simply because a repository happens to be hosted on GitHub.
github
58,391
questions
0
votes
1
answer
7
views
How to check if a GitHub action is running in a public repo or a private repo?
We can get various variables in GitHub actions like github.event.repository.default_branch for getting the default branch.
Is there any field in github object that can be used to determin if the repo ...
0
votes
0
answers
7
views
Issues with GitHub Repository Not Being Computed in SonarCloud
I am a beginner with SonarCloud and I am facing an issue where my GitHub repository is not being computed in SonarCloud. Despite following the setup instructions, my code analysis is not being ...
0
votes
0
answers
13
views
Object moved to here Error in ASP.NET after github cherry pick
I am facing this issue of "Object moved to here." after I did cherry pick from previous commit in git from visual studio.
Then I got conflicts and I selected the current versions of the ...
0
votes
0
answers
12
views
how to list an Organization or a repo under Top repos?
first image
i wanted to add Glob-Educate in the List under Top Repositories !
second imge
thanks for help !?
tried to star the Glob-Educate and also adding some Repos in it, but still did not work. is ...
1
vote
1
answer
26
views
Git filter-repo not removing file from commit history
I realized today that a week or so ago (and about 10 commits ago), I accidentally committed a (mildly) private file to git that should not remain in my git commit history. I decided I would use git ...
0
votes
0
answers
13
views
Installing GitHub Copilot CLI on WSL
I'm trying to install GitHub Copilot CLI on my Windows laptop, but I'm using WSL on my terminal. When I run this command: npm install -g @githubnext/github-copilot-cli, I encounter issues. I have ...
0
votes
1
answer
13
views
Can I prevent a GitHub Pull Request from being created when the selected target branch fails a GitHub Actions workflow?
I have a branch name validity check GitHub Actions workflow that is intended to prevent PR's from merging when the target branch is incompatible with the source branch name.
For example, if my target ...
-1
votes
1
answer
41
views
How do make a custom command to be executed directly from a folder using bash
I want to create a custom command that executes a bash script when a use types it in the terminal. So for example when they type in project setup it executes the setup bash script and then they can ...
-2
votes
1
answer
64
views
How do I restore project files after doing rm -rf git*? [closed]
I am brand new to using git. I was trying to set up a static website on github using git commands due to the project having a large quantity of files. However, everything I tried did not work so I ...
0
votes
0
answers
17
views
How should I organize my GitHub repository? [closed]
I was having way too many repositories, so I started to organize them by languages (Java Projects, Python Projects etc). But something about it feels wrong. Is there a certain amount of repository ...
0
votes
2
answers
47
views
How can I remove a git and github repository connection to a solution in Visual Studio 2022?
First of all, I should explain the mess I have gotten myself into in order to explain this issue. (This was a windows form application with .Net Framework version 4.7.2.) I had the idea while thinking ...
0
votes
1
answer
20
views
Can't install Cordova plugin from GitHub
I'm new to Cordova and I tried to add some packages to my project. I needed to install one specific package from GitHub, so I tried using following:
cordova plugin add https://github.com/acipher/pos
...
0
votes
1
answer
85
views
Is it possible to demote "master" to a sub-branch (with its entire structure) and create a new master?
There is a repository, "X", that I forked and began doing work on to migrate it to the Jetson Nano. This fork's "master" has several branches and is a number of commits ahead and ...
0
votes
0
answers
32
views
I haven't merged my branches to main and now main is way behind. How can I merge all my branches to main?
I've been working on a repository for about a year now and have 23 branches. I'm the only one, no one else is working on this repository. I've always committed my changes and pushed them up to the ...
-1
votes
0
answers
11
views
How to export my Game Maker Code to GitHub
I am looking for guidance on how to export my Game Maker project to a GitHub repository. What are the steps involved in setting up the repository on GitHub and saving my project files to it?
I tried ...