Questions tagged [github]

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

Filter by
Sorted by
Tagged with
27
votes
4answers
32k views

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 ...
20
votes
2answers
14k views

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 ghithub. I made a few changes to to it (that are uncommitted and in the master branch). What I want to do is push my changes onto my ...
18
votes
3answers
93k views

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

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 ...
11
votes
2answers
45k views

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

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 ...
10
votes
5answers
47k views

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 https://github.com/...
8
votes
4answers
5k views

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

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, ...
4
votes
1answer
1k views

SSH fails to use the given private key on docker and 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 ...
4
votes
2answers
15k views

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 ...
4
votes
1answer
2k views

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 ...
3
votes
1answer
449 views

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

Elegant Way To Store Dotfiles on GitHub

I need an elegant solution to store my dotfiles on GitHub for easy access. I tried to create a dotfiles directory and symlink all the dotfiles into there. Then I tried adding the symlinks to git and ...
3
votes
1answer
122 views

Can I upload Knoppix kernel source to github?

I'd like to be able to browse the Knoppix source code for my learning reference without having to copy it to every machine I use.I'd also like to discuss it with classmates. As you know, pre-github ...
3
votes
1answer
118 views

Hosting Git Repositories as per GitHub [closed]

I'm wondering how exactly GitHub does what they do as far as hosting Git repositories goes. For example, I'm assuming that they manage repository push permissions based on values in some SQL table ...
3
votes
1answer
93 views

command-click git commit ID in Terminal, and be taken to that commit in github?

I'm running a Mac and use iTerm with ZSH as my shell. Currently I can command-click (⌘+click) on links or directories in my iTerm window, and that directory or web link will open. Is there a way (...
3
votes
2answers
290 views

unable to prompt for read passwd from shell script

In the below script it is not waiting for passwd to enter it is ending with error message. $ sudo ssh -i crowdpersona_key root@xx.xx.xx.xx bash -c ' git clone user@github.com/test1/crowdpersona.git &...
3
votes
1answer
10k views

How to integrate and use github in atom [closed]

Unfortunately github does not have an official client for Linux . Therefore I want to know if there is a way to integrate github to atom (Their text editor) and manage the github repos directly ...
3
votes
0answers
409 views

Has anyone built ksh93, AST, or UWIN from the AT&T repo on Github, in Cygwin?

Following the move of the source code from the AT&T repo to Github, has anyone built ksh93, AST, or UWIN from it, on a Cygwin platform? I refer to another thread on this forum: Is the shell ...
2
votes
1answer
1k views

upload ssh key on github from command line

I have found a way to upload an SSH key to my GitHub account with command line, but there is small problem. I am able to do this with following command: curl -u "user:pass" --data '{"title":"test-...
2
votes
2answers
11k views

How to stop github always asking for username / password?

I have my keys in ~/.ssh/ and on other computers I can push and pull from the repo in question. Why on one computer do I always need to enter my github username/password but not on others? What could ...
2
votes
2answers
4k views

“Network is unreachable”, github, bitbucket is not working

The output of ifconfig eth0 Link encap:Ethernet HWaddr 3c:97:0e:74:43:8e UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 ...
2
votes
1answer
222 views

Piping content from Github into crontab

I'm not in front of a testing environment right now but I desire to download a Bash script with curl and then load its content into crontab. The content as appears in Github raw document is for ...
2
votes
1answer
639 views

route traffic to github through specific network interface [closed]

My Situation; My computer is in this stupid cooperate network of the company i work for. They have alot of policies and stuff, so its not possible to make a tunnel/connect to github.com through the ...
2
votes
1answer
2k views

Download and install latest deb package from github via terminal

I would like to download and install the latest .deb-package from github (https://github.com/elbersb/otr-verwaltung/downloads to be exact). How can I download the latest package (e.g. *...
2
votes
2answers
166 views

Script a Github file download using curl where filename AND path are variable

I needed to script the install of the Digital Ocean CLI " doctl " tool from Github using curl, but there was a problem: The filename varied as it incorporated the version number- so hard-coding it ...
2
votes
1answer
49 views

Stripping a git repo of all committed files that should have been ignored

I recently initiated a git repo and forgot to add a .gitignore file. After my initial commit, my repo has many subdirectories and many files that should have been ignored. Is there an efficient way to ...
2
votes
2answers
4k views

git Fatal: Out of memory, malloc failed on branch push

I know this has been asked a lot but I did not manage to get any solution to solve my problem. My coworker assigned me on a new project. The application is hosted on test Debian server with git ...
2
votes
1answer
198 views

Can ssh (agent) work with two separate identities? [duplicate]

I use an Ubuntu 14.10 distribution, and two private keys, one encrypted (~/.ssh/E.key), and one not encrypted (~/.ssh/NE.key), which I use for accessing two github repositories, respectively, repoE ...
2
votes
1answer
51 views

Should I upload my gpt encrypted passwords to github?

I am currently using Pass as my password manager and I want to use it on my phone too. So I download Android Password Storage on my phone because it was listed as an android app for Pass at home page ...
2
votes
1answer
320 views

Compiling driver from Github Error

I'm currently trying to follow a set of instructions to download a wifi driver for a Cube i7. To do this, I set up a virtual machine with internet access and proceeded to complete these steps: git ...
1
vote
2answers
2k views

How to add and push empty directory in git?

When I run git status git doesn't show the empty directory. My remote repository is in github. Can't I add and push empty directory?
1
vote
1answer
35 views

Is there a command line tool for managing packages written by me?

Lately I've found myself writing small programs that I use across multiple machines. I use gitlab to manage these programs. Is there a command line tool that will help me keep my programs up-to-date? ...
1
vote
1answer
1k views

Crontab with SVN and Git

I have some repos which are both in SVN and Git. My username is guyfawkes, and in my home directory I have folder www which contains all my repos. In this directory I also have file update.sh: [...
1
vote
1answer
30 views

Parsing out number from URL in bash and feeding into another bash function?

https://github.com/org/repo/pull/777 I'm trying to parse out the last number of this url in bash function 1 and pass that result into bash function 2. I have this elementary example I have been ...
1
vote
1answer
543 views

Clone a repo from github on RHEL 5

I am using RedHat 5.2 and I need to clone a repo from Github. Sadly, since February 1st of this year, they disabled TLSv1 and TLSv1.1 Unfortunately, Red Hat 5 does not have a point release that ...
1
vote
1answer
81 views

GitHub repeatedly changes all leads from spaces to tabs and remote script executions (curl) fail

By design, GitHub automatically converts all leads from tabs to spaces when you re-edit a file with leading tabs: That is, if you edit a file, changing all leads from spaces to tabs, it will be saved ...
1
vote
1answer
137 views

Why you cannot `git pull SHA…650839#file-diff.pach`?

I want to download a portion of this diff: https://gist.github.com/sergeykish/650839#file-dvorak-de-diff. Pseudocode git pull https://gist.github.com/sergeykish/650839#file-dvorak-de-diff.patch
1
vote
1answer
2k views

How can I add an x509 certificates bundle (ca-bundle.crt) to NSS database (~./pki/nssdb)

I'm currently using RedHat Enterprise 6. Git had issues cloning Github repos using HTTPS. After some investigation (e.g. enabling GIT_CURL_VERBOSE and GIT_TRACE) the problem was narrowed to a ...
1
vote
1answer
167 views

Can't connect to Github from one PC, every other website works fine

Running Ubuntu 16.04, I can connect to other websites fine: ping google.com PING google.com (172.217.25.206) 56(84) bytes of data. 64 bytes from nrt12s13-in-f14.1e100.net (172.217.25.206): icmp_seq=1 ...
1
vote
2answers
54 views

Is it possible to install latest Github software releases through apt-get on Ubuntu?

I usually install software through apt-get on Ubuntu. I'm trying to install the latest stable version (v8.6.5) of this software: https://github.com/jcupitt/libvips/releases The problem is that if ...
1
vote
2answers
548 views

How do I move things from my Overleaf git repository to my Gitlab git repository?

I've been using mobaXterm on a Windows 10 computer (based in Cygwin) as a terminal to access ROOT and Python scripts/macros. Additionally, my peers and I have been using Gitlab to share these scripts/...
1
vote
1answer
526 views

Storing output of shell script to variable

I have read many threads on this topic, but none of the solutions have worked for me. I am trying to do the following: RELEASE_COMMAND_OUTPUT=$(exec ~/temp/execs/github-release release --user ...
1
vote
1answer
307 views

What does 'build with master branch of …' mean?

I'm trying to install ios-webkit-debug-proxy. and while running 'make' I get following error. webinspector.c: In function 'idevice_connection_get_fd_wrapper': webinspector.c:50:3: error: implicit ...
1
vote
1answer
79 views

How to check-in annotated tags?

Our project recently moved from Sourceforge to GitHub. The migration did not include the subversion tags. I have very little Git skill, so I used 2.6 Git Basics - Tagging as a guide. I performed a ...
1
vote
1answer
261 views

Gbrowse not working correctly on MAC

I'm using vim and have installed Pathogen and vim-fugative, but when editing a file under source control on github.com I use the command :Gbrowse and nothing happens. I've tried most of the advice I ...
1
vote
1answer
929 views

Crontab with Github

I want to be able to push a repository to Github at midnight, every night. I know that Github isn't a back-up service, and, in no way am I expecting it to be this - I just want the best up-to-date ...
1
vote
1answer
54 views

Downloading github code

I found this article when trying search how to renew DNS on noip. https://github.com/loblab/noip-renew But i don't know how to use it. I saw the usage as below: Code: Select all Usage Set your ...
1
vote
0answers
19 views

Cannot create Git remote on FreeBsd version 6.0 using git version 1.4

I'm trying to get some code in an old server running freebsd version 6 with git version 1.4.1 on to github. I'm trying to add a remote to the repo referencing GitHub.com repo. Does anyone have or ...