As of May 31, 2023, we have updated our Code of Conduct.

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

merge request description in github specify the test classes create azure yaml file pipeline

we are planning to migrate jenkins groovy script to azure devops yaml pipeline, below groovy code one more thing is there any possible using merge request description specify the test classes to run ...
azuredevsec's user avatar
0 votes
1 answer
11 views

zip file is downloaded from github URL through curl command, but same command fails to download file from golang code

I am trying to download a zip file from a github URL from a private repo by passing an authentication token using a curl command as follows: curl -H 'Authorization: token <PERSONAL ACCESS TOKEN ...
user2306856's user avatar
0 votes
0 answers
7 views

Full Stack push on Github

This question may sound stupid..so I am learning web development and the trainer teaches to deploy the project on heroku, since heroku is no longer free, I am trying to use render. So firstly, I need ...
Arya's user avatar
  • 35
0 votes
0 answers
14 views

SSH erroneously resolving Github address [closed]

Good morning everyone, has anyone had a case where the user (using MacOs/Unix) tries to ssh to an ec2 in aws via private-key and gets an error as if the host called was not the ec2 host but yes from ...
Mr Questione's user avatar
-2 votes
0 answers
13 views

Web Scraping Github for existing projects using a keyword

I've written a code for a Github Web Scraper that scrapes the github search page of a specific keyword and scrapes any existing projects that have appeared after the search is done. The code doesn't ...
Baha Dawood ud-Din Rehman's user avatar
0 votes
0 answers
15 views

GitHub Secret Scanning not detecting secrets stored in terraform templates

I am doing some tests around secret scanning in GitHub. I have a public repository with some terraform templates which deploys basic Azure resources like - storage account, VMs and function apps. The ...
Garima's user avatar
  • 401
0 votes
1 answer
11 views

What changes or precautions one should take while using GitHub if there are two users using GitHub on one laptop?

Me and my sister use same laptop I created one react app frontend only and wanted to upload on my GitHub whenever I do that it after committing changes and pushing it shows on my GitHub that my sister ...
Dilip Gawade's user avatar
0 votes
1 answer
12 views

git: Cherry picking from one fork to another fork

I have forked a git repo, and created a PR. Another person from my team then uses this PR to make more changes, and created a PR on a fork of his own. Is is possible to cherry pick from his PR to my ...
Mandroid's user avatar
  • 5,917
3 votes
1 answer
30 views

Is it rude to create a sub-branch off of someone else's branch? [closed]

I'm new to coding and collaborating in git so I thought this would be a relatively normal thing. We're a small team of three working on a project. One of the team members is working on a problem ...
Cyril Medabalimi's user avatar
0 votes
2 answers
25 views

gitIgnore is not working in my repository

I added files that need to be ignored,but IntellIJ Idea continue to add t in Repository.I deleted previous repository, and create a new to check will it be working, and it still cannot be ignored.Does ...
hamziejam's user avatar
0 votes
0 answers
7 views

GitKraken Error: pre-push failed Git Hook exited with 2

I am using GitKraken version 9.4.0 on Windows 10 I have just initialized a repository in GitKraken with LFS and have connected it to a remote called "Origin". Upon trying to push a commit to ...
AndrewW16R's user avatar
-2 votes
0 answers
12 views

How to sync a local folder that I can't move to a local github repo ? (MacOS, but interested in PC as well)

I'm working mainly on MacOS, I have a project on a private repo, synced on local machines, where I store all the session files from the different apps I use for said project One app (DMXIS) has ...
Mozoloa's user avatar
0 votes
0 answers
12 views

Why are my Copilot shortcuts not working? (show next / previous suggestion)

I'm having a problem with Copilot shortcuts on Mac. I'm using a czech keyboard so the default shortcuts for Next / Previous suggestions (option+] / option+[) don't work (as the key combionation just ...
badmood111's user avatar
1 vote
0 answers
14 views

What is the correct way to organize (and referer to) a set of CodeQL queries?

I am learning CodeQL and I now have several custom CodeQL queries for a Java library that we use. The queries run in VSCode, if I run them one by one. I would like to be able to use them duing the ...
carlspring's user avatar
0 votes
0 answers
31 views

git permissions not working in azure devops

I want to deny anyone in the team to refrain from creating a branch based on the main branch in Azure Devops. I am using git repos. Though I execute the below command(and it runs successfully) it ...
kanmani1303's user avatar
0 votes
0 answers
16 views

Upload both folders onto github

I'm a web developing student. I'm having trouble with GitHub and I dont really know what is the best way to sort it out. I have these two folders I'm working on. One of them is a frontend folder which ...
carlsby's user avatar
  • 47
-1 votes
2 answers
37 views

<Anaconda3> japanize-matplotlib install error [duplicate]

In an Anaconda3 environment, I got an error when installing japanize-matplotlib. https://github.com/uehara1414/japanize-matplotlib and in the Anaconda Prompt conda install -c uehara1414 japanize-...
YU-TO's user avatar
  • 1
1 vote
0 answers
40 views

How to retrieve data from a GitHub project board?

For a work, I have to retrieves some data from a project board on GitHub (the start and end dates of iterations). I have read a lot of things about GitHub API (REST and GRAPHQL) and I tried many way ...
Adrien's user avatar
  • 11
-1 votes
1 answer
16 views

Which workflow should I use for this nested repo situation?

I am creating a git tutorial for beginners. I'm tracking my progress such as notes, beamer slides and exercises in a git repo (repo A). I also want to create a sample git repository (repo B) with an ...
actual_panda's user avatar
  • 1,155
-1 votes
1 answer
33 views

Git: .gitignore is not ignoring pod files [duplicate]

I'm developing react native app and during developement in some cases I have to remove node modules and then adding it again and after that I'm installing the pods also, But there are so many pod ...
Harsh Parmar's user avatar
-3 votes
0 answers
25 views

Design and creat a Car Rental System using file handling in c++ [closed]

I'm struggeling with a github action on a self-hosted server. I hope someone is able to help. The installed runner is working fine and is able to be activated on a push to the deploy branch. On a push ...
wrench Aranas's user avatar
-2 votes
0 answers
32 views

Issue with Savitzky-Golay filter in C++ - Incorrect output

I am working on implementing the Savitzky-Golay filter in C++. I came across this GitHub repository, https://github.com/arntanguy/gram_savitzky_golay, which is widely used by many industries and ...
Youssef Boutaleb's user avatar
0 votes
1 answer
16 views

git pull fails when pulling lfs file

I'm getting an Authorization error and a 'smudge filter' error when I git pull from my publicly-visible repo. The error occurs when downloading a file that is pointed to by git lfs. My repo looks like ...
Forrest Goryl's user avatar
0 votes
0 answers
9 views

Github Enterprise, Can I change the Template Name of my Repository using Octokit?

I am using Octokit.Net library for GitHub. I have a repo which was generated from a template repo (Template 1). I have created another template (Template 2) which has my latest changes. I have updated ...
Ali's user avatar
  • 1,005
-1 votes
0 answers
14 views

Updating the github repository of an R package

I released an R package a few weeks back, which has a corresponding github repository. Since then, I've noticed some very minor typos which I've corrected on the github repository. Is it an issue that ...
Tom's user avatar
  • 47
0 votes
0 answers
5 views

How to upload/push files in folderB to remote repo without adding and commiting certain files form folderA

I have two working folders, say fA and fB. I make changes in both fA and fB. I want to commit and push fB first with a particular commit message (e.g. "changes made to fB)" that is not ...
SJa's user avatar
  • 491
-2 votes
0 answers
13 views

vscode refuses to log me into github

Despite me entering correct credentials that i verified are 100% correct,this keeps on popping up and in terminal output returns failed logon,are there different credentials for this? it should be the ...
MichalZard's user avatar
0 votes
0 answers
3 views

How can I bulk-remove Github notifications for pull requests that have been merged?

I'm going through my Github notifications (https://github.com/notifications) and have a ton of unread notifications related to pull requests that have been merged already. I would like to be able to ...
jamescranston's user avatar
0 votes
1 answer
16 views

Vercel deploy error: npm ERR! gyp verb extracted file from tarball node-v18.15.0/include/node/openssl

I tried to deploy my github project into vercel. My project built with vue. Btw, while building project in vercel, it's got tons of errors like this. npm ERR! gyp verb extracted file from tarball node-...
Tri Tran's user avatar
0 votes
0 answers
5 views

The preview in my visual studio editor is not the same as the outcome in the web page

The preview in my visual studio editor is not the same as the outcome in the web page when I upload the content (html and css). I compare them side by side. Help? I uploaded the content into a Github ...
jj.pictures.ahora's user avatar
0 votes
1 answer
15 views

Unable to install CASdatasets in r

I am not able to install the CASdatasets library r, i have tried several methods but the installation keeps failling i have tried the following install.packages("CASdatasets", repos = "...
SONTIA EMERSON's user avatar
0 votes
0 answers
19 views

I have to switch between my laptop and desktop a lot. How can I share the git changes without committing them all?

Due to medical issues I am on my back a lot and have to program from a laptop. I prefer programming on my desktop, but I am forced to bed due to pain quite often. What I want to do is setup a file ...
rockets4all's user avatar
0 votes
1 answer
23 views

How to run github action workflow in a pull request with the content from the respective repository

I have github workflow file as follows. name: Build on: push: branches: [master] pull_request: branches: [master] env: BUILD_TYPE: Release jobs: build: runs-on: ubuntu-latest ...
Ishad's user avatar
  • 121
0 votes
0 answers
11 views

Submitting PR on GitHub

ALL, I have a fork of some repository (wxWidgets). In my fork on my home machine I made a branch, made some changes and pushed. Then grabbed them on another machine, made some changes and pushed. At ...
Igor's user avatar
  • 5,544
0 votes
0 answers
16 views

Files owned by root:root when using actions/checkout on self-hosted runner

I have a GitHub Actions workflow running on a self-hosted runner that looks like this: --- name: Workflow on: workflow_call: jobs: build: runs-on: self-hosted steps: - name: ...
Kins's user avatar
  • 479
0 votes
0 answers
14 views

VSCode adding line breaks between each line of a file, file opens fine in Sublime and VIM

I pulled the project's main branch from Github and the differences showed extra lines added. When I opened the files in VSCode they had extra lines between each line of code. I opened the file in ...
WeDu's user avatar
  • 1
0 votes
0 answers
18 views

Mimir github actions metrics collection

What is currently the best way to collect metrics from GitHub about actions, such as duration, workflow status, error rate, etc? I found a few actions in marketplace, but they seem to be outdated. We ...
warhir's user avatar
  • 1
0 votes
0 answers
11 views

How to switch the linked Github repository from one local reposity to another

I am working on a version of the same application, and the main remote repository on GitHub only link to one of the local repository. Now I want to switch the linking from one local project folder to ...
WONG TUNG TUNG's user avatar
-1 votes
0 answers
20 views

How to overwrite closed pull request?

is it possible to open old closed pull request on GitHub (on a project with multiple participants) and then rewrite it with another branch and close it again so that all old informations are rewritten ...
dean89's user avatar
  • 97
0 votes
1 answer
11 views

In GitHub can I create a branch from a secondary branch and then merged it to main?

So I have the main branch. I usually open a new branch to get some work done, let call this branch_1. I have now finished my work on branch_1 and open a PR to main. But while I wait I want to do more ...
João Santos's user avatar
0 votes
0 answers
4 views

Analysing each commit of a GitHub Repo with SonarQube

I want to analyize several github repos using SonarQube. But i want to analyize each commit individually and see how each commit changed the output of the sonarqube. Normally i can do this by building ...
okadali's user avatar
0 votes
0 answers
17 views

Is there a way to rerun a job as and when it fails during a GitHub Actions workflow?

I have a workflow that reuses several other workflows in parallel. Many of these are flakey and need to be rerun. However, I am losing a lot of time as I need to wait for all the jobs to complete, and ...
bursted.electricity's user avatar
0 votes
0 answers
18 views

When accessing Github Marketplace Actions I am seeing getting error: should be either '[path]/Dockerfile' or 'docker://image[:tag]'

My requirement is to create a public repo and make it available as an Action on Github Marketplace (already done). I am trying to understand the reason for the below error. There are 3 repos that I ...
36f's user avatar
  • 79
-1 votes
1 answer
25 views

How to show all contributions on Github profile? [closed]

I have Github account it shows my "contributions in the last year". Which are 2k+ when I add manually my total contributions (Years 2020, 2021, 2022, 2023) it becomes 2.5k+. Now I want to ...
Naseeb Khan's user avatar
-3 votes
0 answers
32 views

I am unable to run the web source code downloaded from GitHub in Visual Studio Code [closed]

Help me! I have just started learning about web development, and I recently downloaded a source code from GitHub, as shown below. However, I don't know how to make it work in VS Code. This is the link:...
Khải Đinh Quang Tuấn's user avatar
-3 votes
0 answers
18 views

Personal Portfolio website hosted on GitHub pages (issue when clicking on link adds unnecessary .txt to end of the path which does not exist)

I just created and tested my personal portfolio made with React and NextJS. Everything works when testing on the local host and using "yarn dev". The issue started when I hosted to GitHub ...
Azeem Aijaz's user avatar
0 votes
0 answers
11 views

How to force github/gitlab markdown to keep a rel="me" anchor attribute?

How to force github/gitlab markdown to keep a rel="me" anchor attribute? Consider the very simple markdown fragment. <!-- Testing with ghostwriter --> <!-- Test link rendering with ...
EdFoss's user avatar
  • 1
0 votes
1 answer
15 views

github: how to add links to sections of readme.md

I have a github project and want to add links to the readme referring to sections on that readme. I tried several ways, one typical markdown, the other html based with anchor. Whereas everything works ...
user2609605's user avatar
0 votes
1 answer
9 views

Removing submodule status for many subfolders to commit one large repository to Github

I have a folder stored locally which contains many, many subfolders all of which are/were their own repositories. It's all of the lectures, exercises, etc. from school - when I graduated and had to ...
OTGW's user avatar
  • 1
-1 votes
0 answers
8 views

How do I prevent Github from suggesting emojis?

Everytime I type ':', the emoji drop down appears. Which means that if I press Enter (as in, to go to a new line) it will insert the thumbs up emoji. The dropdown appears immediately. I didn't find ...
ouai's user avatar
  • 129

1
2 3 4 5
1119