693 questions
0
votes
0
answers
308
views
Git for Windows Git Bash showing "cygheap read copy failed" errors
I have installed Git for Windows recently, and occassionally when I open the Git Bash program, I see the following error lines before my session starts:
0 [main] bash (28340) child_copy: cygheap ...
1
vote
0
answers
45
views
Windows cmd works but Powershell fails to get similar output [duplicate]
The below command works on Windows Command prompt cmd
D:\Git-Runners\apache-maven-3.8.1\bin\mvn -f "D:\Git-Runners\myrepo\pom.xml" help:evaluate -Dexpression=project.artifactId -q -...
1
vote
2
answers
458
views
GitHub Desktop - "Create pull request" greyed out
I need to use 2 different instances of GitHub Enterprise. (N.B. I'm not using GitHub.com at all).
GitHub Desktop only seems to allow me to be logged in to one instance of GitHub Enterprise at a time.
...
0
votes
1
answer
36
views
Github login by every difference path
I am using Window 11, and use Tortoisegit,and try to use multi github account in my Window for multi path of github.
Git clone will require username/passwordToken by every difference path.
0
votes
0
answers
86
views
How do I set up openslide in my Vs Code environment?
Source code: https://github.com/vqdang/hover_net?tab=readme-ov-file
I am struggling to set up the environment required to use this github repo:
name: hovernet
channels:
- conda-forge
- defaults
...
0
votes
0
answers
155
views
How to search a file in git repository using filename with GITHUB API
I am looking for a way to search for File with the file name only.
I don't have the file path, like in Github , we have the option to Go to File , in a similar way i want to Search for a file with ...
1
vote
1
answer
271
views
I did an "undo commit" in github desktop and now I want to undo the undo. Is this possible, or is that commit lost?
I wanted to undo the commit because it included some files that should not be in the repo, so I thought I could undo the commit and then re-save the one file that should be in the commit. ...
0
votes
0
answers
245
views
Git commit asks for passphrase which I don't remember
Few days ago, I created a GPG key in my GitLab account. Now I was trying to commit a new project into my GitHub account, I get a pop-up window asking to enter a passphrase to unlock the OpenPGP secret ...
0
votes
1
answer
48
views
Can't able to merge branch to main branch in github
I developed a github repository with empty main in GitHub.
Then i created local repo in git and done basic operations to push...
git init
for new empty repo
git add .
for adding all files in local ...
0
votes
0
answers
296
views
Manual trigger button "Run workflow" is not showing up in GitHub Actions
Workflow:
name: Accessibility Tests for Account E2E
env:
GLOBAL_VARIABLE: true
on:
schedule:
- cron: "0 2 * * *"
workflow_dispatch:
jobs:
e2e-tests:
timeout-minutes: 60
...
3
votes
1
answer
903
views
Auto approval for environment in GitHub actions workflow does not work
I have manual approval setup for GitHub actions using environment viz item1,item2 and approver as actor name mohtashims
Below is my workflow where I wish actor mohtashims to auto-approve environment ...
0
votes
1
answer
66
views
I commit from my Microsoft Visual Studio, however, I am now seeing that i now have two versions of two files
I have issues with my commit, two files in my repo are being duplicated. My Logics.cs and Constants.cs were duplicated. I really do not know why that happened, I made the commit from my Microsoft ...
0
votes
0
answers
60
views
repository not found in github access denied or does not exisst
remote: The requested repository either does not exist or you do not have access. If you believe this repository exists and you have access, make sure you're authenticated.
tried ssh gen key and ...
0
votes
0
answers
186
views
git.exe push --progress "origin" main:main fatal: Could not read from remote repository
I am trying to push my code to Github with TortoiseGit after I finish my implementation. However,I am encountering this problem.
I've been trying this command in git bash, I was also trying to push ...
-1
votes
1
answer
601
views
Error: git is not recognized as the name of cmdlet
I installed git according to windows comptability but still not working:
the solution I tried:
I tried changing the path variable in system variables but it's not available to edit:
2
votes
2
answers
3k
views
Github gives error "Unable to create the new repository because there are too many new files in this directory"
I'm trying to upload an Unreal 5 game I've been prototyping to github so that the rest of my team can collaborate on it.
I have github installed, and when I try to create a new repository (located in ...
-1
votes
1
answer
304
views
How do I download GitHub pull request?
here is the pull request I would like https://github.com/OpenKore/openkore/pull/3802/files
I want to download like it as its own separate project. How do I go about doing that? I don't see any button ...
0
votes
0
answers
524
views
Setting up GitHub Action to run only on .py files in the pull request
I am trying to setup GitHub Action that should only run on .py file in the pull request. Suppose if I am pushing any other file (say .txt) it should skip the workflow run and allow me to merge the ...
0
votes
0
answers
171
views
I can't pass variables between two seperate jobs on a windows based runner
so I am working on creating this workflow to check a website availability (production application) and then pass the result from this check to another job so that it could send a Teams notification ...
-1
votes
1
answer
47
views
Can anyone help to get out of this error unverified error and DCO Eroor while i commit
[hello ,(https://i.sstatic.net/YdHKH.png)ll i am making committo github account] 1.when i got to gihub to check about commit this error shows (https://i.sstatic.net/pOEvc.png)
2.It is showing ...
0
votes
1
answer
680
views
What is the purpose of initializing a GitHub repository with .gitignore? [duplicate]
while I was creating a new repository on Github, I came across this option and I don't know what it is used for. The option is "Git ignore".Git ignore option
I clicked the button and many ...
-3
votes
1
answer
69
views
I keep having the same problem while updating the reposity on GitHub, whatever I type in git push I get an error
I am a Windows user and I just started on GitHub and I added data to this GitHub repository but I can't update it. I think I just had an error in pushing while updating. I have 1 branch, main. I don't ...
1
vote
1
answer
2k
views
GitHub client prevents cherry-pick: "you are not able to cherry-pick from and to the same branch"
Using the GitHub client for Windows I am trying to cherry pick a commit from my development branch into main branch so that I can do a quick deploy of a small change instead of merging everything that ...
0
votes
1
answer
2k
views
How to send Email in Enterprise GitHub actions with attachment and path of the reports?
I am new to GitHub Actions and have tried to send email by using below action and it worked.
- name: Send mail
uses: dawidd6/action-send-mail@v3
Now, I'am working in GitHub Enterprise, so how can ...
-1
votes
1
answer
107
views
How to undo a commit in GitHub? [duplicate]
Hello I am new in GitHub.
And I have done the following process
1)first commit
2)I make lot of changes in code
3)second commit
Now I want to undo the second commit because mistakenly I have done ...
-2
votes
1
answer
72
views
GitHub new commit issue
I am new in GitHub
And I have linked my android xyz project with GitHub previously.
After sometime I use GitHub desktop for pushing code in GitHub.
And I have copied the code from android studio and ...
1
vote
1
answer
119
views
GitHub: Unable to delete main branch from remote repository after changing default branch to master
I am unable to delete main branch from my remote repository after changing my default branch to master.
I made a repository on github and pushed the branch named master from my local repository to it....
1
vote
0
answers
193
views
Getting the following on Windows 11 via Github desktop /usr/bin/env: ‘bash’: No such file or directory
I am very new GitHub and I am getting the following on Github Desktop on Windows 11:
/usr/bin/env: ‘bash’: No such file or directory
I have even tried uninstalling and re-installing. Please any help ...
0
votes
1
answer
123
views
Checking which GitHub account your Ubuntu Machine (Windows) is linked to
Having trouble checking which GitHub account my Ubuntu Machine is linked to. I had made my first one last year, but the email it was attached to finally got filled up so I decided to switch emails, ...
1
vote
3
answers
2k
views
How to get new changes from main branch to my personal branch on github?
There are three branches named 'dev1', 'dev2' and 'main'.
I am working on 'dev2' branch and my friend is working on 'dev1' branch.
We both are fetching and uploading our code from 'main' branch. ('...
3
votes
1
answer
7k
views
Unable to clone code from Github into Jupyter Notebook?
I've been trying to download several packages from github with commands such as
'''pip install https://github.com/strath-sdr/RFSoC-Book/archive/v1.0.1.tar.gz'''
and
'''git clone https://github.com/...
1
vote
0
answers
45
views
Create copy of file on github repo but use it for different content
I have a file in github called test1.py
I want to use all of its content and just change 1 line. So i created a new branch, copied test1.py, then deleted test1.py, and then pasted it in a different ...
0
votes
1
answer
527
views
Github invalid path error - unable to clone repository into GitHub Desktop
I am new to GitHub and trying to clone my team's repository into my GitHub Desktop. However, I get the following error.
Cloning into 'C:\Users\prisc\github\sex-bias\sex.bias'...
remote: Enumerating ...
-3
votes
1
answer
122
views
how not to expose whole codebase to a remote developer?
for a small startup , I employed some remote developers. However, I only want to reveal the necessary codes to a certain developer, not the entire source code.
is this kind of feature offered by ...
4
votes
3
answers
4k
views
Remove default labels on GitHub self hosted runner
When creating a new self-hosted runner for GitHub (enterprise), some default labels (Windows, X64, self-hosted) are automatically added. I can also add custom labels with the --labels parameter.
The ...
0
votes
0
answers
48
views
How to find the commit in a mirrored git repo which is exactly at the middle of commits count? [duplicate]
Context:
Migrating huge repos (size>2GB) from GHES to GHEC.
Problem:
I have a repo which is of size 3.3 GB which needs to be mirror cloned and pushed to GHEC.
When pushing the repo to GHEC, I'm ...
1
vote
1
answer
136
views
Using GitHub Desktop for Windows and Origin on GitHub got confused about the default branch
I'm not certain what happened. Somehow "main" didn't get set as the default branch at the origin. It got set to an old branch that I've long since moved beyond. Though I see in the settings ...
0
votes
0
answers
45
views
Git for Windows Commits
I've been tasked to make a presentation about a topic, but every slide should be added into a repository as a commit using Git for Windows. My question is if I just add the file each time manually to ...
0
votes
0
answers
50
views
Git: Can't push to a newly initialised repository in Visual Studio Code [duplicate]
I am not able to push a local repository to a GitHub repo, both created at the same time.
The steps I took:
In Visual Studio Code (VS Code) I select Open Folder to add the project folder.
I click on ...
1
vote
0
answers
432
views
Cannot Push To Origin In Github Desktop Interface (Windows)
I cannot push to origin using Github Desktop. Below is the screenshot.
I have already setup the personal access token.
I try to sign out and then sign in again from github desktop app.
But still ...
8
votes
2
answers
5k
views
Create Zip file of Github Reporitory using a workflow which runs on [windows-latest]
I'm trying to create a zip file of my repository using git hub workflow. Below is the code:
name: .NET
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main&...
1
vote
1
answer
4k
views
GitHub Actions - Upload Artifact Failed: Unable to get local issuer certificate
We are using self-hosted runners (Windows) for GitHub actions. Recently, our company changed the proxy. We have updated the System Environment Variables to the new proxy, and we have updated the proxy ...
0
votes
1
answer
369
views
How can I optimize the following GitHub workflow for my requirement?
I'm tasked to automate a dotnet build and deployment process on GitHub. The engineers were manually building the solution on VScode and copy-paste the artifacts onto dev server(IIS app pools).
There ...
0
votes
3
answers
3k
views
How to add python files to a new repository in github
I am trying to learn and understand basics of github. For the purpose, I created some files.
try_catch_basics.py
reading_from_files.py and countries.txt
writing_in_files.py and country.txt
Now, I ...
8
votes
2
answers
8k
views
Why is my github desktop fetching origin goes infinitely hang on?
enter image description here
My github desktop gets stuck and infinitely load(actually takes like 10minutes) and goes to refreshing repository(also takes 10minutes). Whats happening? i need to back up ...
2
votes
2
answers
4k
views
why do i am getting Failed to create deployment error while deploying my website on github pages
I created a html website. I uploaded all the source code in my GitHub repository. Now I want to host my website using GitHub Pages but I am getting Error that says: 'Failed to create deployment (...
0
votes
1
answer
93
views
Going to another commit in GitHub Desktop (GUI VERSION)
How do I go to a previous commit from GitHub Desktop? I did some work in my class yesterday and today when I pulled it said I needed to resolve merges, so I clicked continue from Main. Now I do not ...
0
votes
1
answer
3k
views
why it is showing a empty repository?
I have created one repository, but it is showing empty.
I just clicked the 'create repository' button and choose public. Then I uploaded a file from local storage.
To confirm it is uploaded, I ...
0
votes
0
answers
566
views
"I wrote this GitHub action, it almost works, but it fails genearte the report in run-on windows-latest. How solve this issue?
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated html file: ///D:/a/AutomatedTests/automatedTests/%3Dreport.html - -
================== 27 passed, 1 warning in 906....
1
vote
0
answers
3k
views
kex_exchange_identification: Connection closed by remote host - GIT AND GITHUB
I am trying to push to a private git repo and am facing this error.
kex_exchange_identification: Connection closed by remote host
Connection closed by 140.82.121.36 port 443
fatal: Could not read from ...