Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [github]

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

0
votes
1answer
59 views

How to create a GitHub repository from CLI

Is there any git command/script to create new GitHub repository from CLI?
1
vote
1answer
50 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
73 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 ...
0
votes
1answer
248 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 ...
0
votes
0answers
33 views

Import data from azure resource manager to github

I have requirement to import the TFS code in one of resource manager group to GitHub. While doing that it is importing all resources in that resource group. Is there any way to do the specific ...
1
vote
1answer
165 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
122 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
31 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
153 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
196 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
197 views

using ssh agent forwarding to clone git repo

I have a private github repo that I want to clone in an EC2 instance. From my local computer, I access to it via private key (so I can clone, pull, push only using my keys, and not passwords). I don't ...
0
votes
0answers
43 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
0answers
446 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
2k 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
122 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
339 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
85 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
58 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
53 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
37 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
441 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
36 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
85 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
199 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
73 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
207 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" ...
1
vote
1answer
364 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
410 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 ...
1
vote
1answer
1k views

Ansible to access Github: become causes Permission denied (publickey)

Objective Would like to understand the mechanism why using become to be the ansible user causes "Permission denied (publickey)". User ansible to run ansible-playbook to checkout a Github repository. ...
0
votes
1answer
41 views

How to setup git permissions to repositories

How can I setup git server, than different users (clients, not the server users) can access different repositories? I want the behavior, like it is on the github, where you always access the "git" ...
0
votes
1answer
36 views

Github CI/CD/Branching to external server?

We have a repo in a strict development environment and private webserver residing in /var/www/dev/repo. We want any branches that are created to automatically be created and added to /var/www/branches/...
3
votes
1answer
578 views

Jenkins cannot read Github password since upgrading to Git client plugin 2.1.0

I'm currently using Jenkins 1.650 on Windows 2012 and I've upgraded a test instance of Jenkins (cloned from my production server) to 2.25. As part of this the Git Client plugin was upgraded from 1....
0
votes
1answer
484 views

How to configure GoDaddy domain to point to a specific github pages repository?

We have a github repository which is configured to point to nordible.com: Hitting nordible.github.io successfully lands to nordible.com. So, we've successfully connected a github website to a ...
0
votes
2answers
218 views

Pulling from GitHub to IIS

To update my website I need to pull from GitHub to IIS, remotely, not by using RDP. How can I do that? TelNet does not support git and I don't like installing OpenSSH ( it needs CygWin)
3
votes
1answer
2k views

Jenkins github pull request builder picks wrong commit

I am using Jenkins with the plugin GitHub Pull Request Builder. I then have set up webhooks from GitHub to trigger a build in jenkins when a new Pull Request is opened or committed to. I configured ...
0
votes
0answers
511 views

Failed to connect to repository : Command “git ls-remote -h git@github.comcast.com:username/sidtest.git HEAD”

Im trying to setup Github connection from Jenkins but get the above error. Inorder to overcome this error, I tried changing to Jenkins user and run the git ls-remote command. su -s /bin/bash jenkins ...
0
votes
0answers
464 views

Wget cannot locally verify issuer authority

I am using my company provided certificate which is self signed. wget https://github.com /This throws the error Other sites work fine. Chrome is able to successfully use this. And i am also able to ...
1
vote
1answer
3k views

Jenkins login using GitHub Authentication failed being administrator

I was setting up authentication mechanism for our organization jenkins, which had no security mechanism, "ananoumos" can do anything, delete jobs,build etc. I did Install github-oauth jenkins plugin ...
0
votes
1answer
80 views

Automatically linking Github repository to GCP repository fails

I'm trying to link a private Github source code repository to a Google Cloud Platform Source code repository, but whatever I do I get an error "The server has timed out while trying to process your ...
0
votes
1answer
2k views

EC2 Cloudformation - userdata using powershell to retrieve powershell scrips from GitHub

I have a AWS cloudforamtion - whih build my entire VPC with subnets etc - within this CF builds a windows 2012 server - we want to bootstrap this server under user data so it become a domain ...
0
votes
0answers
119 views

How do you git archive a branch using gzip with highest compression level?

I'm trying to git archive a branch using gzip with the highest level compression (9) but it seems to not compress at that level. Here is my command: git -C /home/user/example.com/ archive --format ...
0
votes
1answer
309 views

How to create a local fact in Ansible playbook which will skip steps which are already done in previous runs?

I wrote a playbook which clones from git three repo's and compiling them from source. Whenever I provision a machine which uses this playbook, the repos are cloned, no matter if the local copy of the ...
0
votes
1answer
502 views

Github deploy key to allow a Docker Hub image to pull private gem with

Given repo "A", a Ruby project with a dependency on a gem, contained within another private Github repo, "B", I need to give Docker Hub permission to clone repo "B" when it builds the image. I'm ...
1
vote
0answers
527 views

Can I allow configure Jenkins to use LDAP authentication while still allowing company github accounts to make commits?

We are running Jenkins CI as a critical application in our organisation. I've recently set up an openLDAP server and I am looking to migrate all of our applications to this over time. The LDAP ...
1
vote
1answer
127 views

Passphrase-less ssh keys on a puppet master?

Our puppet code lives on github, so we pull to the puppet master. But our github repository is private. Is standard (best) practice to give the puppet master ssh keys to github without passphrase (...
0
votes
1answer
664 views

GoDaddy domain (randomly) not resolving to GitHub Pages

I have added a CNAME file to the root level of my GitHub Pages repository, which contains my domain (_____.com). My DNS settings on the GoDaddy website look like this: DNS Settings. On the "Manage ...
3
votes
2answers
2k views

Ansible with Github: Permission denied (Publickey)

I'm trying to understand the GitHub ssh configuration with Ansible (I'm working on the Ansible: Up & Running book). I'm running into two issues. Permission denied (publickey) - When I first ran ...
0
votes
1answer
74 views

Host a directory on a different server/domain

I own a domain with a Apache server running Wordpress (example.com), whose configuration I can probably tweak (if I can propose a good solution). I have a GitHub Pages hosting (example.github.io), ...
1
vote
1answer
2k views

Jenkins: use ssh-agent and git plugins together

So, I have the following situation: a server with dedicated users for each project (e.g. foo) and a jenkins server which runs as a jenkins user. I've generated an SSH key pair for my foo user and ...
-1
votes
1answer
933 views

Why I can't connect to github via ssh?

I've searched a lot and all found solutions weren't work. I generated ssh key via: ssh-keygen -t rsa -b 4096 -C "myemail@gmail.com" I got the key: cat /home/drupality/.ssh/id_rsa.pub I noticed ...