Questions tagged [github]

Github is an online service for using git repositories to enable social and collaborative coding.

200 questions
2
votes
1 answer

Cannot SSH to github.com after changing to static IP

I've been using github.com for a long time, but just had my ISP switch my home internet to a static IP and now I can't SSH to github. What happens with SSH? The id_ed25519 key has just been re-generated. SSH just stops: $ ssh -T -F ~/.ssh/config…
Capn Sparrow
  • 141
  • 7
2
votes
1 answer

how to fix the npm install fails with 'An unknown git error occurred' in one folder but works in a another folder

My Server runs on Centos 8 and I installed nodejs latest (v14.17.5) and NPM (v7.21.0), both dont have a .git folder in there. I have a very very strange issue, If I goto folder example1.com, and run npm install I get the below error, [root@www…
mahen3d
  • 4,342
  • 14
  • 36
  • 57
2
votes
0 answers

mirror/backup of github repository with metadata

(How) would it be possible to make a full backup/mirror of a github repository, including all branches and tags (with full history) all (open) pull requests all premissions/access restrictions configured integrations deploy keys implemented github…
hardmooth
  • 121
  • 3
1
vote
0 answers

AWS Amplify frontend deployment says Access Denied on every request

I followed this tutorial. Everything succeeds but when I access the site I get access denied. I don't know why this happens I followed the tutorial exactly as it appears.
1
vote
2 answers

Limiting shell access for git users, but still allowing push / pull access

I'm host a git repository on my server. Anyone can push / pull from the following remote url: ssh://git@example.com/opt/git/my-project.git Specifically, anyone with ssh access to the git@example.com user can push/pull (i.e. I have their public key…
user2490003
  • 147
  • 5
1
vote
1 answer

Should the CNAME reference the repo when hosting multiple sites with Github Pages under one username?

I'm running into an issue with a new site I just launched for a private repo but one site works and the other generates a 522 so I'm wondering if it's due to my CNAME. Here's a list of what I've done. In the domain provider I modified the…
Gʀɪᴍ
  • 111
  • 3
1
vote
1 answer

How to create a GitHub repository from CLI

Is there any git command/script to create new GitHub repository from CLI?
Gayathri K
  • 139
  • 5
1
vote
1 answer

git clone hangs during clone when using sshpass

Has anyone found sshpass works to set a phassphrase for ssh or git clones? I have a github repo with a deploy key and a passphrase This results in prompt for passphrase as expected and clone upon manual key-in of it git clone…
Eva Brigid
  • 75
  • 7
1
vote
1 answer

Intranet Cert Signed by Custom Root CA: I'm Seeing "Revocation function was unable to check"

Background I have a set of internal company websites, which need to have TLS certificates. I went through a whole bunch of tutorials, and ended up using OpenSSL to create a self-signed root certificate. I then used this certificate to sign server…
Kelderic
  • 125
  • 6
1
vote
1 answer

ansible git autodeploy by webhooks

How to automate deployment from git repository hosted on github / bitbucket to ubuntu server using ansible? In github repostory settings->webhooks i can add webhook for pull to master, that will call my server I have self-made solution, written in…
1
vote
1 answer

Serving GitHub Pages site with custom domain name via Cloudflare

http://appleseedhq.net/ is a GitHub Pages site hosted at https://appleseedhq.github.io/. I'm following Cloudflare's tutorial to enable HTTPS at https://appleseedhq.net/: https://blog.cloudflare.com/secure-and-fast-github-pages-with-cloudflare/ I've…
1
vote
1 answer

ssh "cannot resolve host" if host is an A entry, but works with CNAME

I have a very strange behavior (bug?) with my ssh client. When I try to use it with an A record, say ssh -vvvT github.com I get the following error: ssh -vvvT github.com OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016 debug1: Reading…
Danduk82
  • 178
  • 2
  • 9
1
vote
1 answer

Can AWS Code Commit be used to restrict source code to only be cloned on specific EC2 VMs limited by IP and User?

Does AWS Code Commit support limiting cloning of the code or reading the code to specific EC2 IP addresses or limited by user policy? To stop source code being shared or cloned on non employee computers? Also does Code Commit have a web interface…
Logon
1
vote
0 answers

Best way to migrate Git repositories (without interrupting the dev team)?

So I have a repository (in Stash) on an EC2 instance that a dev team is using. I was given instruction that we are getting rid of Stash and moving to Github. I'm trying to figure out the best route to go so that I don't interrupt the dev team. I…
david
  • 135
  • 7
1
vote
0 answers

How to do branch to branch auto deploy using github

I am a newbie on git. How it possible to do auto deploy with branching on github. I have a github account and repository in it. I want to implement auto deploy like When committing to branch "test" it will auto deploy to server 1 When…
adminz
  • 397
  • 2
  • 6
  • 20