Questions tagged [github]

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

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

How do i authorize same ssh key across multiple machines

I've got a private Github repo I want to access from two different Linux machines. For the first machine, I followed Github's instructions for generating SSH keys, and added the resulting public key ...
0
votes
0answers
6 views

Resync Jira with GitHub after Repository Transfer

We have GitHub setup to integrate with Jira, such that when anyone pushes a commit to a repository, and that commit starts with a Jira ticket id, the related Jira ticket is updated. We're using the ...
0
votes
0answers
26 views

Cannot mirror github repo on google cloud platform

I am trying to mirror github on GCP, but the message I get is that the repositories cannot be loaded. I tried deleting authorization and re-authorizing GCP on github applications setting, but I am ...
0
votes
0answers
27 views

Is it possible that personal access token is leaked thru' git log? [closed]

When cloning a Git repo with HTTPS URL, the password or access token can be put there in the URL after username, for example: git clone https://USERNAME:PASS_OR_TOKEN@github.com/some-project.git Is ...
0
votes
0answers
15 views

My GitHub Pages website went viral. 120k page views in 24h. Where do I go from here?

So I built nesteggly.com. Literally an MVP I cooked up over the past couple of months to help my girlfriend plan her retirement. Being a 100% static website and not thinking many people would find it ...
0
votes
0answers
153 views

kex_exchange_identification: Connection closed by remote host … How do I resolve this error

emil@DESKTOP-1I1B1NM:~$ git clone git@github.com:EmilYoung2004/git_test.git Cloning into 'git_test'... kex_exchange_identification: Connection closed by remote host fatal: Could not read from remote ...
0
votes
0answers
16 views

allow some custom domain urls to point to personal webspace instead of github pages

I recently migrated from wordpress to github-pages where I host my personal website under a custom domain. Now I am trying to find out how I can allow certain urls in my website to not refer to github ...
0
votes
1answer
25 views

Automating SSH authentication to GitHub - what should ~/.ssh/config file look like?

I'm trying to automate logins to GitHub using a private key, so that I can do "git pull/add/commit/push" from a BASH script. If I put this in ~/.ssh/config, it works: Hostname github.com User git ...
0
votes
1answer
19 views

Use the same SSH key to both connect to remote server and push to GitHub from that server

I've generated an SSH key pair to log to my remote server. I've also added that same public key in GitHub. So from my own machine, I have SSH access to GitHub: Hi hdodov! You've successfully ...
1
vote
0answers
18 views

accessing github in powershell/terminal resolves to localhost

So I live in China and am using shadowsocksR on my router to bypass the Great firewall. Today when i try to update flutter using the powershell in VScode the powershell gives the error "fatal: ...
0
votes
1answer
30 views

How to avoid pushing our project to their own repository via git [closed]

We want to restrict my developer to upload our own project to their own repository.
0
votes
0answers
23 views

Nginx, webhook and hugo docker container

I have a docker container that builds my website. I want to be built based on the pushes on a specific (private git repo), this repo will update by a build team. I setup Nginx as follows: server { ...
0
votes
0answers
21 views

Heroku Deploy Hanging

I have a React app in a GitHub repo. I have installed one version successfully to Heroku. I then updated my code on the repo, and try re-deploy it, but the deployment just hangs. When I access the app,...
1
vote
0answers
46 views

Image files corrupted after deployment on nginx

I do not know why this happened. I first pushed my project to github and then git cloned it into my server(digital ocean). On my local machine i have uploaded over 350 images, but after deployment ...
0
votes
0answers
54 views

Pulling private github repo on Digital Ocean droplet creation

I'm trying to deploy Digital Ocean droplet, which upon creation pulls my private github repo and runs bash script in this repo. I use cloud-config for this: #cloud-config ssh_keys: rsa_private: | ...
1
vote
0answers
268 views

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.
0
votes
2answers
316 views

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 ...
1
vote
3answers
95 views

Git clone - dumps repo with user/group as 0 0 [closed]

This follows on from a previous question of mine but is different insofar as it specifically concerns Git. When I clone my Git repo on my serer, it dumps the repo successfully but with CHMOD 0755 and,...
2
votes
2answers
249 views

Forwarding www subdomain with SSL github pages

I've set up a personal website on my apex domain using Github Pages and Google Domains. I've tried to forward www.example.com to example.com which works unless you type in https://www.example.com, ...
1
vote
0answers
66 views

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. ...
0
votes
0answers
83 views

How to force caching of codeload.github.com?

I am trying to setup my squid to cache requests to codeload.github.com: https://codeload.github.com/zendframework/zend-stdlib/legacy.zip/66536006722aff9e62d1b331025089b7ec71c065 My proxy already ...
4
votes
3answers
481 views

Mirror github to Cloud Source Repositories

Can't connect for 3 days already, saing 'Failed to connect repositories' All access already granted and i'm repository owner Perhaps you know how to deal with that EDIT: Bitbucked connected ...
2
votes
0answers
23 views

Setup custom domain on GithubPages with QHoster?

I've registered a domain with qhoster.com (foo.com) and I want to link it to my GitHubPages webpage. I've followed the GithubPages guide about this and I don’t manage to make it work. When I go to ...
0
votes
1answer
22 views

Github connection doesn't show up when selecting github release on azure

Via pipeline => edit => add task there's an option for adding a "Github release" which requires a GitHub connection (OAuth or PAT). I've added both an OAuth and a PAT with repo, user, admin:repo_hook, ...
1
vote
1answer
70 views

How to create a GitHub repository from CLI

Is there any git command/script to create new GitHub repository from CLI?
2
votes
1answer
1k views

EC2: Cannot git clone at launch

I am trying to git clone a private repository from GitHub on EC2 instance at launch. What I have in my script(user data) is the following. git clone -b branchname https://github.com/orgname/...
3
votes
2answers
75 views

Any security risk in creating root public/private keys and adding public key to Github repo?

I would like to do version control on some important directories on my server such as /etc/apache. All the files and subdirectories in that directory are owned by root:root. Would it be considered a ...
1
vote
1answer
856 views

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 ...
1
vote
1answer
517 views

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 ...
0
votes
1answer
282 views

HTTPS GitHub Pages DNS to Enforce SSL

On May 1, 2018, GitHub announced that GitHub Pages now gain support for HTTPS. It states that you're all set for this feature if you use CNAME or ALIAS records; or, updated DNS with new IP addresses ...
1
vote
0answers
63 views

Connecting Github organization only with AWS codestar

I have Admin priveledge IAM user on my team's organization AWS account, and I also belong to a github organization of the team as a Owner role (and, we have several owners in the Github Organizaiton). ...
0
votes
2answers
697 views

SSH and GIT auth suddenly stopped working

I've been happily pulling from my repository for months, until now.. :'( For the first time ever git now asks me to add github.com to the known_hosts file. It never did that before, I even didn't ...
2
votes
1answer
727 views

securely connect jenkins and github

we have a Jenkins server running on an ec2 instance. The security groups are very restricted in this server, they only allow traffic from the company office, and the slave nodes. we want to setup ...
0
votes
0answers
58 views

How to enable Github Pages with Custom Domain

I've read through the Github help pages for setting up custom domains, but to no avail. I have just pushed a new Jekyll project to github and am trying to point my domain name to it. I have the ...
1
vote
1answer
979 views

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 ...
4
votes
3answers
4k views

are github`s IP Addresses changed?

I had an issue today where my deployment on my application servers couldn't be completed due to connection problems with github. I noticed that when I perform a DNS lookup of github.com using ...
1
vote
1answer
149 views

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/...
0
votes
1answer
700 views

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....
0
votes
1answer
197 views

Can not clone git project and ssl error

I am working on a Google cloud machine configured with Ubuntu 16.04. I have a personal github which can be accessed with an http url. I tried to clone the repository in to my local Ubuntu machine, it ...
0
votes
1answer
67 views

Docker from github repository

I wish to use a custom docker image that I'm describing from a Dockerfile. I've uploaded this Dockerfile to my own GitHub page and created a repository for it. I'm trying to upload and test laravel ...
1
vote
1answer
98 views

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 ...
1
vote
0answers
51 views

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 ...
-1
votes
2answers
826 views

DNS errors and non-existing subdomains [closed]

When I visit anythinghere.mysite.tld I get a DNS error. However, if you observe the behaviour of anythinghere.google.com and anythinghere.example.com you'll see there's no DNS error. Note: ...
1
vote
0answers
37 views

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"...
-2
votes
2answers
122 views

Hiding git files' last modification date [closed]

Is it possible to hide the date when a file was last modified? If not then maybe there's any way of changing the date so it would show a previous date than the actual one? Using either the Web ...
-1
votes
1answer
214 views

Local git repository on a windows client where remote server is on a remote apache server

Please forgive me if I am asking a repetitive question but I am new to using git repositories and I don't know where to start. Here is my how I want to set up my repository: Create a local repository ...
0
votes
1answer
87 views

Pulling to server remotely from GitHub, remotely

I want to setup a deployment workflow from GitHub to my Digital Ocean server. To do this I don't want to have to login to the server and manually run git pull from my server's repository. I'm aware ...
1
vote
1answer
269 views

cannot deploy web app from github to azure

I am using GitHub for Azure. Suddenly, Azure stopped deploying from GitHub. It was working fine before. Below is the error i am getting now. Command: "D:\home\site\deployments\tools\deploy.cmd" ...
2
votes
1answer
595 views

Block changes to Jenkinsfile (Jenkins Pipeline)

I am using the Jenkins Pipeline plugin to build commits on my GitHub repository. However, while I do trust the people on GitHub enough to make commits on the repository, the server is shared ...
0
votes
1answer
804 views

Files in ignored folder still show in GitHub Desktop

I've just added a brand new local repository using GitHub Desktop. There are folders I don't want to commit, so I added these to .gitignore as follows: cache/*.* Now the problem is that the files ...