Questions tagged [github-for-windows]
Github for Windows is a Windows client for the Github social coding community. It also offers integration with non GitHub-hosted git repositories.
655
questions
0
votes
0
answers
7
views
getting a 404 message when creating website on github
creating my website on GitHub for the first time on windows. I entered in myusername.github.io
I get a 404 message. I entered in my codes in VS. when I click on my index, my photo does come up on a ...
1
vote
1
answer
33
views
I'm trying to add a SSH key on GitHub however "Key is invalid. You must supply a key in OpenSSH public key format" keeps appearing
I'm basically copying the following code into github from the linux terminal. Is there anything wrong with it?
ssh-ed25519 AAAAC3NzaC1lZDIlNTE5AAAAIKsxrHHSghWvO8MO+UlzmTHLxSp1BeuPX855Ywwdgi75 "my ...
0
votes
0
answers
18
views
git init fatal: bad config line 1 in file C:/Users/mypc/OneDrive/Documents/api/.git/config
I'm trying to start a "git init" in my cmd and I'm returned with the error
git init fatal: bad config line 1 in file C:/Users/mypc/OneDrive/Documents/api/.git/config
I had started a git ...
0
votes
0
answers
17
views
GitHub - vscode cloned projects don't work properly
Whenever I clone a project from Github into vs code. like everyone else, I go to pubspec.yaml file then downloads all the dependencies but then everything works fine except now I can not run my ...
1
vote
1
answer
27
views
How to create a new GitHub repo branch with our System terminal without creating that branch locally in my system
I am working on a project. I have only the main branch in my GitHub repo and in my local project. Now I want to push changes to the new GitHub repo branch temp but I do not want to create any new ...
0
votes
0
answers
56
views
MSBuild through GitHub action on dedicated drive
I'm trying to setup a GitHub workflow to compile msbuild on self-hosted windows agent.
On my self-hosted agent the build needs to be run on specified dedicated drive.
My action workflow as follows,
...
0
votes
1
answer
37
views
vim ~/.ssh/config command isn't showing any results
I'm using windows 10 ,I want to get into the SSH file but whenever I type "vim ~/.ssh/config" into my Git Bash the result I get is this
but the result I'm trying to get is supposed to look ...
0
votes
0
answers
16
views
How do i force logout from all sessions where i logged in with Github?
I need to force the logout from all the devices and sessions linked to my Github account, the list includes, but is not limited to:
VS Code
Visual Studio
Github Desktop
Portainer
Jira
others
When I ...
-1
votes
1
answer
39
views
fatal: protocol 'https' is not supported git push not working? [duplicate]
I have set the origin to my online Git Repository and there is nothing to commit
git status
On branch main
nothing to commit, working tree clean
but still I am getting this when I try to push my ...
0
votes
0
answers
15
views
How can I resolve my authentication with remote origin error?
I have been using github with vscode very well for a while now and today I was able to clone a repository from github, commit my changes but cannot push to the origin repo. It's saying
"failed ...
0
votes
1
answer
21
views
Is there a way of getting only the issues without a certain label using the GitHub Api
I have the following
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token <TOKEN>" \
https://api.github.com/repos/OWNER/REPO/issues?labels=label
...
0
votes
1
answer
73
views
Use GitHub created VPS for a long time
I have created a Windows VPS using GitHub and ngrok. It works good for some time but after 30 minutes it automatically shuts down. Here is my GitHub repository link:
https://github.com/arqamiy2k2/...
-1
votes
1
answer
38
views
GitHub doesn't update GitHub page after git push -u origin main success
I do the git push -u origin main but it doesn't upload to github page, then my terminal shows me this message:
Everything updated
'parent' branch set to track 'origin/parent'.
I wait 1 hour to see if ...
-1
votes
1
answer
500
views
fatal: Authentication failed for 'https://github.com/Rruhid/REST-API-php-joins.git/'
Please help me with this problem:
I tried every single step, but nothing helped every time when I try to authenticate it throws me an error, also I type my valid username and generated password.
enter ...
0
votes
0
answers
73
views
How to Publish an ASP.net in Azure deployment center using Github repository
does anyone know how to add dependencies in the Github workload or I missing somewhere here
I have an ASP.net and I want it to publish inAzure
so far I try azure deployment center in which my Deploy ...
-1
votes
1
answer
118
views
Unable to checkout when changes are present on your branch. The following files would be overwritten
I can't change branch and merge code to current branch
0
votes
0
answers
38
views
Github actions support to use specific runner instance for each CI workflow
We are implementing a CI/CD pipeline using GITHUB ACTIONS, and we would be using multiple repositories as part of our pipeline, what we want is to enable github actions to pickup same runner in the ...
0
votes
0
answers
17
views
Cloning the Repo into my local device from Github
I am having issues when I am trying to clone a Repo from my Remote GitHub to local device into Eclipse. After I paste in the URL and enter the User Id and Password into the Authentication dialogue box,...
3
votes
1
answer
962
views
GIT Repository appears to be owned by another user on your machine
I have a git repository as a mapped network on my machine on my "Y:" drive. Until recently I was able to connect to the repository from my git desktop application. But for the last two days ...
-1
votes
1
answer
27
views
What does this GIT command do while publishing a git project?
I have published my local angular v13 project to github remote. While pushing the repo to remote I was given instruction from git like to do these commands:
git branch -M master
git push -u origin ...
0
votes
1
answer
45
views
Commits are not showing in the profile, tried everything
I am having trouble with Github commit. I have tried all the commands and everything seems fine. I am able to push the progress in the repo but it does not show in the profile. However, whenever I do ...
1
vote
0
answers
436
views
passing an array as output from one job and printing the input array list in other job using githubactions
I am looking for a way to pass array as Output for one job and use it as Input for another job and print it in github actions.
parse-json:
needs: start
runs-on: [self-hosted,X64,dev,Windows]
...
0
votes
0
answers
77
views
Git and GitHub CLI clone or push not working
Cloning into '-'...
fatal: unable to access 'https://github.com/NazmusSayad/-.git/': OpenSSL SSL_connect: Connection was reset in connection to github.com:443
exit status 128
If I push or clone ...
0
votes
1
answer
243
views
How to use the SSH Key that I configured in the github, for CLI git push on Windows?
I am on Windows 11.
I created a SSH keypair using ssh-keygen -o and saved it in say c:/work/ssh, and I have copied the contents of id_rsa.pub into my github.com account -> Settings -> Add new ...
0
votes
0
answers
404
views
Git bash error: The system cannot find the path specified
Whenever I try to execute a command on gitbash I get the error that.
"The system cannot find the path specified."
Be it git pull or git commit, I get the error.
Even if I try using Git GUI ...
3
votes
1
answer
1k
views
reusable workflows should be referenced at the top-level `jobs.*.uses' key, not within steps
reusable workflows should be referenced at the top-level `jobs.*.uses' key, not within steps
name: HelloWorld
on:
workflow_dispatch:
jobs:
checkout:
runs-on: windows-latest
steps:
- ...
0
votes
0
answers
12
views
how to trigger workflow from my repository to workflow already present in another user fork repository by using GitHub actions
how to trigger work flow from my repository to another user fork repository workflow by using GitHub actions
4
votes
1
answer
52
views
Is there a way to insert a published paper url link in Github readme as a reference material?
I want to insert the URL link of a published paper in my Github ReadMe file. What are the possible ways to achieve this? Please, can anyone provide a suggestion? I want a situation where I can just ...
0
votes
0
answers
70
views
Forking "Internal" GitHub Enterprise repositories
I am using GitHub Enterprise and have multiple Organizations.
I am unable to fork to other organizations if repository visibility is 'internal' but able to fork to other Org. if it's of visibility '...
0
votes
0
answers
65
views
How to Create Stickers Bundle for WhatsApp using the project in Git Hub
I am new to this GIT HUB... Please help me out
I have signed to GIT HUB free account, Tried checking the documentation we have in GIT Repository but still could not find how can I change the project ...
0
votes
0
answers
54
views
Can the same folder be in two different GitHub repositories and be in sync with each other?
I have two different repositories in my GitHub account, say A and B. Both A and B are cloned in the same folder on my desktop, say MAIN. Now, I need a copy of a specific folder that is in repo A to be ...
0
votes
0
answers
439
views
How to configure Github desktop (Windows) [credential]to work with AWS CodeCommit and MFA
I configured global gitconfig and removed [credential] section. I added [credential] section to my user config C:\Users\me\.gitconfig. I specify which AWS profile to use, create MFA temporary access ...
1
vote
2
answers
197
views
How to correct «unable to merge unrelated histories»?
I use github desktop (https://desktop.github.com ) while developing the application with several other people, so, for some reason, when trying to merge two branches into one, the error "unable ...
0
votes
0
answers
28
views
Recovering git files from different branch
I really need help with something I did on Github. Let me start from the beginning. I started working on a react-native app and kept pushing my changes on the master branch. Then a few days ago due to ...
-1
votes
1
answer
136
views
Why the CSS file is not getting hosted with HTML on GitHub?
I have tried several methods to host my website on GitHub, but nothing worked. It seems like GitHub is not linking my css to the html, but its working absolutely fine on my local desktop.
Here is my ...
1
vote
1
answer
318
views
Is that possible to see a file in a specific commit from Github desktop locally than the difference?
In Gitlab/Github, if I use it remotely, I can download a file in a specific commit, by going to the commits and browser the repository at that commit.
If I use the Github desktop on windows with the ...
1
vote
1
answer
37
views
Push Existing Git to New Branch
I've been having some issues trying to get my branch pushed to Git and haven't been able to find a straight forward answer I could follow.
I downloaded a clone'd a repository and did some changes. ...
-3
votes
1
answer
174
views
Push a folder of a repository into another one [duplicate]
I have two repositories A and B in github.
I have clone repo B inside one of the A's folders and now i want to update repo A and push the folder gotten from repo B inside github using Clion, and what ...
-1
votes
2
answers
3k
views
how to enable GitHub Copilot in visual studio code
I didn't know how to enable GitHub Copilot authorized users in the visual studio code, and I got a notification of an issue that the GitHub Copilot message couldn't connect to the server. Extension ...
0
votes
0
answers
23
views
I can't upload files using Git bash on windows 8
When i try to upload files using gitbash it says ".NET framework v4.7.2 is needed" but unfortunately its not supported on windows 8 and I cant upgrade to windows 10 for now so can someone ...
0
votes
0
answers
43
views
after using git commit its says is not recognized as an internal and external command
I used git init then git add -A then I tried to git commit but there is something wrong I cant figure it out what is it? how can I overcome the problem?
This is the message I'm getting:
$ git commit ...
2
votes
1
answer
3k
views
warning: 'C:\ProgramData/Git/config' has a dubious owner: 'S-1-5-21-2380165290-1749897186-383349493-670437'
warning: 'C:\ProgramData/Git/config' has a dubious owner: 'S-1-5-21-2380165290-1749897186-XXXXXXXXX-670437'.
For security reasons, it is therefore ignored.
To fix this, please transfer ownership to an ...
0
votes
1
answer
26
views
Github desktop auth failed for a wrong repo url (repo pointing to wrong url)
although I have seen posts similar to this and tried the mentioned solutions (will mention them later) Im still facing the same problem.
When I try to push changes using github desktop it says auth ...
0
votes
1
answer
23
views
Recover removed local folder using git
I made an Angular project and pushed it on github ( I don't know much about git ). After pushing, I saw there was just one folder with a right arrow on it and when clicking on it didn't result in ...
0
votes
1
answer
95
views
Can Clone my Git Repository but can't commit and push
This is the error message I get when I put in my GitHub account info (it is the right login)
I can clone my repository but cannot commit and push
Can't connect to any repository: https://github.com/...
1
vote
0
answers
18
views
How to move all the repositories from github account to antoher github account?
I am currently using a github enterprise in which I got the account from my school.
I did not know that other users cannot access my github site. So I am trying to move all the repositories to a ...
-1
votes
1
answer
238
views
"Sorry, this file is invalid so it cannot be displayed." with pdf files on GIthub
Pdf can't display on my computer even though my friend's can.
https://github.com/GTLTFITHOU/Trainning/blob/main/Training%20Round%201/Other/L%20tutorial%20from%20SonDinh.pdf
Browser: Google Chrome 94....
0
votes
2
answers
55
views
Did I successfully permanently delete a branch in GitHub (so no coworkers can see it)?
I was in GitBash and did "git add file" and "git commit -m "msg"" and "git push --all origin".
It pushed branches to the work GitHub Repository that I didn't ...
0
votes
1
answer
49
views
I want to recover reverted changes from GitHub
I have committed my changes on Git
Then Reverted changes from Git so changes also gone from local
I need to recover specific file changes.
After my revert some other changes also pushed but changes ...