Stack Exchange Network

Stack Exchange network consists of 175 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 a website to share code for software development projects that use the Git revision control system.

0
votes
0answers
13 views

On Ubuntu Server latest LTS on Digital Ocean how can I automatically detect github commits? [on hold]

I have a git repo on windows, say I am coding an html page, index.html or whatever. I save this in my git repo locally on windows, then I commit to at github.com/myusername/myrepo to say the master ...
2
votes
2answers
52 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 ...
0
votes
0answers
21 views

Creating .deb from github repository

Currently, to build the github repo, it requires making a python environment with specified dependencies, with gcc and g++ installed. The project is written in python and cython. I want to make a .deb ...
1
vote
0answers
13 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 ...
1
vote
2answers
23 views

How to show latest release's Git tag with message

Was creating a script to update a Github application in-place and needed to print changes made in the latest Git tagged release so users could make an informed decision about pulling the trigger on ...
0
votes
0answers
20 views

github is not reachable from Chromium but is reachable from Firefox

I run on OpenSuse with Chromium Version 70.0.3538.110 (openSUSE Build) (64-bit) and Firefox Quantum 63.0.3 (64-bit). I am not under any proxy or VPN. When I type GitHub address in the chromium it says ...
0
votes
1answer
175 views

SSH Errors with Public Key [closed]

WMadmin@WM-GH-BACKUP:~$ ssh -vvv -p 122 [Server] OpenSSH_7.6p1 Ubuntu-4ubuntu0.1, OpenSSL 1.0.2n 7 Dec 2017 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: ...
2
votes
1answer
45 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 ...
0
votes
1answer
291 views

Permission denied: cannot create /dev/null

I've been trying to get the github commit chart hack to work for like a week now. this one https://github.com/mavrk/github-graffiti and this one https://github.com/gelstudios/gitfiti and this one ...
1
vote
1answer
82 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
1answer
27 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
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
2answers
45 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
votes
1answer
473 views

How to install from a Git repo [duplicate]

I just cloned this repo. I do not know how to install it. I cd-ed to it and typed $ sudo apt-get install git linux-headers-generic build-essential dkms but it didn't seem to work out. The repo is: ...
0
votes
1answer
181 views

Why would README.md show up as an executable?

This is on a Mac but I figure it's a Unixy issue. I just forked a Github repo (this one) and cloned it to a USB stick (the one that came with the device for which the repo was made). Upon lsing I ...
0
votes
1answer
28 views

Compiling code lacking configuration script in Readme

I am trying to install a handy program which takes xyz files and turns them into POVRAY input scripts: github I have cloned the repository locally, however the first instruction "run ./configure" ...
0
votes
1answer
430 views

Old CentOS 5.6, Due to github.com delete the TLSv1/TLSv1.1 support, How can I access to github.com/repo.git using git system

Now I have a cluster with Rocks 5.4 based on CentOS 5.6. When I git push the code to github.com, I run into the errors: error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert ...
3
votes
1answer
206 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 ...
1
vote
2answers
902 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
452 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 ...
10
votes
3answers
5k 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 ...
3
votes
2answers
230 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 &...
1
vote
1answer
73 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 ...
2
votes
1answer
156 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 ...
-3
votes
1answer
44 views

how can I open the project folder after cloning it with https using github

I am using deepin 15,5 but how can I know the repository folder after cloning it with https and the command was git clone
4
votes
1answer
1k 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 ...
4
votes
1answer
928 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 ...
1
vote
1answer
305 views

Streisand Effect and Turnkey Linux on Raspberry Pi 3

I'm new to linux and I currently have a Raspberry Pi 3 running Turnkey Linux that I plan on using as a File Server in my home. I'm still working on this project and following this tutorial. I came ...
0
votes
1answer
45 views

Why only Linux master branch visible on Github?

Why is only the Linux master branch visible in the Github Repository? https://github.com/torvalds/linux/branches Is there a way to view the other branches?
1
vote
2answers
453 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
494 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 ...
2
votes
2answers
9k 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 ...
0
votes
1answer
457 views

Bad magic number error with travis

I get the following error for my github project after commiting my code on travis-ci.org: Deploying application on master ✓ domain: <mydomain> ✓ site path: /srv/http/webapps/Main ✓ zipping ...
1
vote
0answers
25 views

How to undertand the GPLI code, structure and database?

Where can I get the conception and database structure of the GLPI ? I didn't find any documentation in the Internet. "how to create a plugin in GPLI" in Github doesn't help me very much.
0
votes
1answer
247 views

Git pull merge issue with remote origin

I did git fetch and git fetch --all but there was no output for the same. after that when I do git pull again I get the below error again. I am willing to fetch the origin from the remote to my local....
1
vote
0answers
88 views

Can I make a subdomain unresolvable despite presence of “search” in resolv.conf?

I'm trying to find a workaround for the known issue in Github Enterprise: We incorrectly redirect to the dashboard if you accessed GitHub Enterprise using an alias while in private mode. This ...
1
vote
1answer
693 views

Not getting libglib2.0-dev (updated libraries) even after upgrading from Ubuntu 14.04 to 16.06

I wanted to compile and install something-for-reddit from git. As I went with ./configure.ac it showed below error. ./configure: line 5088: GLIB_GSETTINGS: command not found ./configure: line 5089: ...
0
votes
1answer
107 views

undefined method `permit_weak_imports' with brew install

I am unable to install hub. By running https://github.com/github/hub/issues/new I get the error Error: undefined method `permit_weak_imports' for #<Object:0x0000000220d0d0> What is the ...
1
vote
2answers
1k views

git not using global config file or public key

I've setup a global git username and password while logged in as root on my Fedora server with the following commands: git config --global user.email "[my email]" git config --global user.name "[my ...
2
votes
1answer
304 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
0answers
216 views

How can I ship an executable file?

I have a project that is hosted on GitHub. On my local machine I have created an executable file that installs the program. However, once uploaded to GitHub and cloned somewhere else the user must ...
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-...
0
votes
1answer
5k views

Using git push to create remote branch on the fly without creating local branch [closed]

So here is what i want to achieve: When I clone a repository from Github and checkout some stable branch, and make some local changes in it, then I don't want to create a local feature branch nor do ...
1
vote
1answer
220 views

Correctly Installing Wifi Driver With patches from Github

I wish to install the driver in the following git. https://github.com/hadess/rtl8723bs Reading the documentation it appears I also need to install one or more patches. My device is an HP Stream 7....
1
vote
1answer
113 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
0
votes
0answers
65 views

git does not work for some repo but work for others

I encountered a very weird issue for git. I have three repo.s in github, say repo1, repo2 and repo3. On machine 1, I used to be able to clone and pull all three repos. However, suddenly I couldn't ...
1
vote
1answer
265 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 ...
3
votes
0answers
383 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 ...
0
votes
1answer
1k views

Can someone please explain this error I'm getting in my script

I'm trying to create a script which I can set as a cron job which adds all my dotfiles to a folder I've set up as a github repo then push them every evening. My script is the following. cp ~/.!(|.|...
4
votes
1answer
81 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 (...