Questions tagged [github]

GitHub is a website to share code for software development projects that use the Git revision control system.

GitHub Logo

GitHub is a website to share code for software development projects that use the revision control system.

Website: http://github.com

Wikipedia: http://en.wikipedia.org/wiki/GitHub

See also

166 questions
33
votes
4 answers

SSH asking for passphrase on public key with no passphrase set

I have been using public key authentication on my servers for a while now, but I am experiencing issues on a new 'client' trying to connect to github. I have read many threads to verify that my permissions are set up correctly and have generated a…
earthmeLon
  • 1,150
  • 1
  • 8
  • 17
29
votes
5 answers

command line method or programmatically add ssh key to github.com user account

Is there a way to identify with a username and password to github.com servers for the purpose of adding an ssh key to the github user account? So far everything I've read suggests that a user's ssh key must be added via the web GUI. I'm looking for…
cmosetick
  • 393
  • 1
  • 3
  • 4
26
votes
2 answers

Github adding a repository as a fork from an existing clone

So I have a git repository that I cloned from an upstream source on github. I made a few changes to it (that are uncommitted in the master branch). What I want to do is push my changes onto my github page as a new branch and have github still see it…
Falmarri
  • 12,897
  • 17
  • 58
  • 71
19
votes
3 answers

Fetch a specific branch using git

I want to download source code from the master-next branch using git as described in the Xilinx wiki. I tried this: #git clone git://github.com/Xilinx/u-boot-xlnx/tree/master-next.git Initialized empty Git repository in…
user2799508
  • 1,652
  • 8
  • 27
  • 46
14
votes
2 answers

adding SSL certificate for Github only (not all certificates from ca-certificates package)

I get the following error when accessing Github over HTTPS: error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none This is because I don't have any certificates in /etc/ssl/certs/. I know how to fix…
Martin Vegter
  • 69
  • 66
  • 195
  • 326
13
votes
5 answers

how to wget a github file

For example, there is a file here that I want to download via CLI: https://raw.githubusercontent.com/raspberrypi/linux/rpi-4.1.y/arch/arm/configs/bcmrpi_defconfig How to I download the actual file, and not the html? I tried the following, but only…
modulitos
  • 3,097
  • 8
  • 29
  • 44
11
votes
3 answers

How to JSON-escape input?

I am trying to come up with a tool what for sending data up to a github gist via the API. The problem is the github api takes the gist content as a single line with all escape sequences written out literally, like such: { "test.txt": { …
jesse_b
  • 35,934
  • 12
  • 91
  • 140
11
votes
6 answers

Can't wget from github, sslv3 handshake error

We have a script that downloads mod security from github that has recently started failing. The servers run CentOS 6 but RHEL 6 probably has the same issue. The output is: # wget…
Kristofer
  • 293
  • 1
  • 3
  • 9
11
votes
4 answers

git archive fatal: Operation not supported by protocol

I can do git clone like so ... git clone https://github.com/stackforge/puppet-heat.git ... with no problems. But I want to exclude all the git meta stuff that comes with the cloning, so I figured I would use git archive but I get this error: $…
Red Cricket
  • 2,183
  • 6
  • 25
  • 37
10
votes
3 answers

Change a directory name in a Github repository remotely, directly from local Linux Git?

This is my Git repository: https://github.com/benqzq/ulcwe It has a dir named local and I want to change its name to another name (say, from local to xyz). Changing it through GitHub GUI manually is a nightmare as I have to change the directory…
Arcticooling
  • 1
  • 12
  • 44
  • 103
6
votes
1 answer

Getting jq error when using variable in command line

I am using jq to get the tag_name index with the script: curl \ https://api.github.com/repos/checkstyle/checkstyle/releases \ -H "Authorization: token $GITHUB_TOKEN" \ -o /var/tmp/cs-releases.json TARGET_RELEASE_NUM=$1 TARGET_RELEASE_INDEX=$(cat…
5
votes
1 answer

Git Client with UI on a Debian system

I known using git on the command line is the preferred method by a lot of Linux users. But has somebody have successfully installed and used a Git Client with GUI on Debian Based System? (to be precise it is a Raspberry PI 2 with raspbian distro) I…
sstassin
  • 153
  • 1
  • 6
5
votes
1 answer

SSH prompt a passphrase for no passphrase keys on Docker GitLab CI

With the following Dockerfile: FROM nexylan/php-dev:7.1-alpine COPY entrypoint.sh / RUN chmod u+x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] WORKDIR /code CMD ["tail", "-f", "/dev/null"] (The entrypoint does nothing related to the issue). The…
Soullivaneuh
  • 286
  • 3
  • 15
5
votes
2 answers

Git hangs indefinitely when trying to push --all to GitHub

When I try and push --all to GitHub, the Git transfer starts out fast, slows down, and eventually stops. It doesn't fail, it just slows to a halt. What's going on? This is really frustrating, I'd like to get my code pushed, but every time I try…
Naftuli Kay
  • 38,686
  • 85
  • 220
  • 311
4
votes
1 answer

ssh percent_expand token %n not working

I'm seeing in the ssh_config man page and on the openssh website that I should be able to use a %n token when locating the identity file for a given host entry. percent_expand tokens used by OpenSSH's ssh(1) and sshd(8) GitHub allows using ssh…
Scott
  • 151
  • 6
1
2 3
11 12