Questions tagged [github]
Git repository hosting service - May be better on Web Apps or Stack Overflow
500
questions
2
votes
1
answer
2k
views
git bash for windows seems to use wrong user name for github SSH connection
I have created a ssh key using my github email address and have added it to github:
I have also changed my git global email address to use my github email address:
but when I try to login it says ...
2
votes
1
answer
1k
views
Merging two divergent repositories on different remotes
Me and my colleague set up a new repository on both GitHub and GitLab. All was nice, but due to a misunderstanding, he was pushing to GitHub and I was pushing to GitLab. We set up rep mirroring on ...
2
votes
1
answer
714
views
Differentiate between Department and Project group in Gitlab
As a Gitlab Admin, I have to create different Groups for different departments and add members to it. Some Departments conatins Sub-Departments so I create Sub-Group in Gitlab for it.
As of now ...
2
votes
1
answer
4k
views
How do you download files from Github via Batch?
So, I am making an "Assistant" that is completely command line based. I recently decided to move from hosting files on One-drive to GitHub. I had made tiny.cc links so it would be easy to change the ...
2
votes
1
answer
2k
views
SSH ForwardAgent + multi-Host
I have several Hosts in ~/.ssh/config, and they work fine from local machine, but remote machine doesn't know these Hosts.
Host A
HostName github.com
IdentityFile ~/.ssh/A_rsa
Host B
...
2
votes
1
answer
2k
views
How can I recover a github wiki page after changing its name to begin with an underscore?
The title pretty much covers it. I renamed a page in a repository's wiki so it started with an underscore and it disappeared from the "Pages" list.
2
votes
1
answer
601
views
How to unrevert in git extensions?
I ran a revert commit in git extensions, and I did not realize it was going to remove all my code from exclipse as a result. How do I unrevert in git extensions?
2
votes
1
answer
2k
views
how to make automatic git mirror for hg repo
I've Vim plugin project on GoogleCode using Mercurial, but users wants to have it on github to ease use it as git subrepo (to keep their ~/.vim/ on github with all plugins inside).
Personally I ...
2
votes
1
answer
435
views
How to do successive commits into github repository?
I already did my first commit into github. But now I have checked out the already committed repository using 'git clone <repo name>'. Now after updating my code I want to commit back the new ...
2
votes
0
answers
43
views
Setting GitHub Actions Secrets on Docker container build/run command, but encountering a parsing issue
I'm in the early stages of building an automated pipeline. Still in the exploring phase. Right now, I'm struggling with setting the environment variables for the container I'm going to run my app.
The ...
2
votes
0
answers
821
views
Cant open github.com on safari nor access it in terminal in macos monterey 12
I am brand new to Mac and wondering what i cant access github.com from safari or from terminal with git clone. MyOS is 12.0.1 Monterey.
In Safari, it says "safari cant establish a secure ...
2
votes
1
answer
1k
views
How to deploy to AWS elastic beanstalk with github actions on many environments? (dev, staging, prod)
I'm using this github action to build a docker image from a Node app, then deploy it to elastic beanstalk via ECR.
This works fine for a single environment for the app, but what about adding staging ...
2
votes
1
answer
368
views
Cannot connect to GitHub from the command line or browser with a “server certificate verification failed” error
For some strange reason I cannot figure out, GitHub has not been accessible from browser or terminal. I tried many solutions mainly from StackOverflow that says to re-install certificates. Those ...
2
votes
0
answers
577
views
Windows gradle build failed
I am trying to compile this code from Github (https://github.com/CCAFS/csa_compendium).
I downloaded gradle. When I try to run it from the command line, I get the following error:
Could not create ...
2
votes
1
answer
2k
views
How to configure build number format on TeamCity when using Git source control
We have recently moved from Team Foundation Server (TFS) source control to Git source control. We are using TeamCity as our build server.
Our build number format in TeamCity is defined as this:
%...
2
votes
2
answers
3k
views
How to ignore larger files from pushing to github?
I am new to git and tried to push my project directory to github.
Below are the step I followed.
git init
git add .
git commit -m 'first commit'
git push <my repo address>
Then below error ...
2
votes
3
answers
3k
views
How do I cancel my Github LFS subscription?
A long time ago I decided to try github lfs. It didn't seem to help much, so I did what I thought would cancel it, but apparently it did not work. I would like to know how to cancel a github lfs ...
2
votes
0
answers
50
views
A certain obscure FOSS script made for my archaic motherboard to perform a very specific function fails to run. Can anyone please explain why?
So, I have a motherboard, MSI H81M-P33, and I have a freshly bought PWM fan. Unfortunately, my motherboard's BIOS does not allow me to reduce the RPM curve of my fans below 50%, which makes them ...
2
votes
0
answers
103
views
GitHub - UI allowing non-technical collaborators to edit files
I have a Github repository that only contains one file - a readme.md. I want to distribute an edit link to several non-tech-savvy collaborators, but without having to explain to them what "commit" ...
2
votes
0
answers
179
views
Can not do anything with GitHub remotely
Now, my version is 10.14.3 Beta (18D32a).
Since I updated the previous version, As long as I run git clone or git push command, it will lead to:
fatal: unable to access 'https://github.com/user/...
2
votes
1
answer
757
views
Unable to fetch particular commit hash from gerit error: Server does not allow request for unadvertised object
I have updated manifiest file with clone-depth=1 and when I try to do the repo sync I am getting the below error. Our gerit config has all the required setting changes for shallow clone
The error:
...
2
votes
2
answers
60
views
Trouble working with Github
In order to learn from other and better programmers how to write good code I decided to install Github Desktop.
It was installed-no problem, but, on opening the Git shell that comes with the ...
2
votes
0
answers
539
views
Github Desktop has stopped working (after updating to windows 10)
After updating to windows 10:
Everytime i run Github Desktop the error "Github has stopped working" pops up.
Microsoft Visual Studio debug retrieves this message:
"System.IO.FileLoadException was ...
2
votes
0
answers
1k
views
Can't sync repositoy from GitHub Mac client
When I try to sync using the GitHub client for Mac, I get this message:
Authentication Failed
You may not have permission to access MyRepository.
Check Preferences to make sure you’re still logged in....
2
votes
0
answers
2k
views
Can't get private GitHub repos to work with Vagrant/Puppet on Windows
I have a project and we use Vagrant for our development env. On Mac/Unix the provisioning works perfectly except in Windows, the problem is that forwarding agent doesn't work on windows and therefore, ...
2
votes
0
answers
133
views
GitHub displaying boxes on chromium [Arch]
I am running google chromium on Arch Linux. When I go to GitHub, chromium displays little boxes instead of what is supposed to be there (Screencap: https://i.stack.imgur.com/RZc2j.png). GitHub ...
2
votes
0
answers
118
views
Is there better way to create a local Github wiki rather than having two .git directories in one directory?
My purpose is to create a github wiki pages for my personal notes.
In order to create my github wiki from a github repo, I have to do the following. I thought there must be a better way to do. If you ...
2
votes
3
answers
143
views
Large file editing and versioning for non-programmers [closed]
As part of a collaborative Creative Commons project, I would like to allow editors to contribute by editing a relatively large text file: ~8 Mb, ~100k lines. Ideally, contributions would be git pull ...
2
votes
0
answers
677
views
Windows Github install error: System.Net.WebException
While installing, I got this error (from the log file). I tried the solutions to this similar question
ERROR DETAILS
Following errors were detected during this operation.
* [5/7/2013 8:19:29 PM] ...
2
votes
0
answers
133
views
MD5 for Git's git-credential-osxkeychain executable? [closed]
I'm setting up a GitHub account and have downloaded Git's credential-osxkeychain executable via the Password Caching section of GitHub's instructions. But... I am paranoid enough to look for some ...
2
votes
3
answers
6k
views
How to print code from GitHub.com with its syntax-highlighting?
How can one print just the syntax highlighted source code from a GitHub source code page (e.g.)? I've tried it with a few browsers (Safari, Firefox, both running on OS X) but I have not succeeded in ...
1
vote
3
answers
2k
views
Create Github repository using command line + API
Please provide working code that creates a Github repository using the API.
I have tried different versions of the following:
curl 'https://api.github.com/users/repos?client_id= myusername&...
1
vote
1
answer
69k
views
What are lb-140-82-[XXX]-[XXX]-[a-z]*.github.com links?
While scanning some program network activity, I've found that it sends a request to lb-140-82-121-3-fra.github.com. After a quick search I've found out that there are more similar links. The IPs in ...
1
vote
2
answers
9k
views
Why do I keep getting "Authentication Failed" on Github when running through the Win10 Linux subsystem?
I'm on a machine running Windows 10, with Developer Mode enabled and the Linux Subsystem installed. When I switch into bash, I am trying to run a simple clone command from git:
git clone https://...
1
vote
1
answer
5k
views
Why does GitHub recommend ed25519 SSH key encryption scheme, but itself uses ECDSA?
GitHub's guide Generating a new SSH key and adding it to the ssh-agent recommends using ed25519 when configuring SSH keys for connecting to GitHub, but if you SSH to github.com, you see the host key ...
1
vote
2
answers
129
views
Getting started with git
I want to use git to version control files in a new project. I have read an overview of git, but it is not clear to me if git hosts the code for you.
I do not want my code to be hosted on a third ...
1
vote
3
answers
2k
views
Install paccache in Msys2 to clean installers storage
I mean to get rid of a large number of probably useless installers (I have currently 3.5Gb "immobilized") from my Portable Msys2 under Win10.
I will probably keep the last version, at least of some ...
1
vote
3
answers
3k
views
Why do my tabs in Sublime Text appear so far off in Github?
In my Sublime Text settings I have:
"translate_tabs_to_spaces": true
And in the editor my code looks beautiful like so (all tabs):
However in GitHub the tabbing turns out terrible:
If I use 4 ...
1
vote
2
answers
2k
views
Git Error: bash: command substitution: line 1: syntax error near unexpected token `)'
When I open my GitBash (on Windows 10) I am getting the below error:
bash: command substitution: line 1: syntax error near unexpected token `)'
bash: command substitution: line 1: `date "+%D %X")'
...
1
vote
1
answer
75
views
Is a github port 59249 request valid
I'm on macOS Sierra and keep getting requests to allow port 59249. When I look at the request details, I see that it appears to come from github:
lb-192.30.253.124-iad.github.com
I am using github ...
1
vote
4
answers
790
views
Starter guide for git/github? [closed]
I'm a novice when it comes to version control. Git looks pretty neat, and I've seen some interesting projects on github (Homebrew in particular). I've set up git and github, and I've looked up a ...
1
vote
1
answer
2k
views
how to disable asking for ssh passkey when pushing / pulling to git
I'm using Github's ssh protocol to push and pull to and from my repo and whenever I do this it shows the following message
Enter passphrase for key '/home/username/.ssh/id_rsa':
I want to have an ...
1
vote
2
answers
5k
views
git status lists all the files on my pc
I'm trying to use git and GitHub.
I think I have set it up successfully (meaning that it is working).
However when I use the git status command I seem to get back all the files on my PC as untracked ...
1
vote
1
answer
10k
views
curl to download file located at github
I would like to donwload openjdk11 using cURL from github but the download stops just after few seconds, this is what I tried:
curl -o openjdk11.tar.gz https://github.com/AdoptOpenJDK/openjdk11-...
1
vote
1
answer
155
views
Different ways to install / clone a repository
When using github, I know that I can clone a repository by doing something like:
git clone https://github.com/name/repostitory.git
but I have also seen things like:
pip install git+https://github....
1
vote
1
answer
156
views
What should we do when we change a machine?
I have always been developing a big project in one machine. I use github to do version control. Now, I just got a new machine. I want to develop the project on the new machine. I am wondering what's ...
1
vote
1
answer
165
views
Why do Atom, VSCode or Ava use more than one continuous integration services?
Continuous integration services, like Travis, CircleCI or AppVeyor have been proofed to be really useful to make sure that the project is working as intended automatically.
But why do some ...
1
vote
1
answer
391
views
Github: How to use SecurID desktop application for two factor authentication?
Can the SecurID desktop application be used for two factor authentication on Windows or Mac?
I don't have a phone and would like to use it, and it seems like it should be possible from some posts i'...
1
vote
3
answers
112
views
Students/staff sharing many computers to develop software [closed]
What's the best way to have students and staff share computers? We have to have a mix of Macs and Windows 8 PCs. Right now, we have USB flash drives with our work. This worked great. Problem is now ...
1
vote
1
answer
2k
views
Roll back git master repository and branch commits from rollback point
I have a Git repository set up. This repository has almost 700 commits, but all of them is in the master branch. I would like to take an approach in which I roll back this master branch (this rollback ...