Tag: r

59 votes
9 answers
2.1K views
Remove directory from remote repository after adding them to .gitignore

I committed and pushed some directory to github. After that, I altered the .gitignore file adding a directory

avatar
Shantay
0 1 0 9
asked 07 September, 2021
55 votes
12 answers
843 views
How to git-cherry-pick only changes to certain files?

If I want to merge into a Git branch the changes made only to some of the files changed in a particular commit

avatar
Kisha
0 1 0 9
asked 07 September, 2021
53 votes
12 answers
1.5K views
Git pull a certain branch from GitHub

I have a project with multiple branches. I've been pushing them to GitHub, and now that someone else is w

avatar
Carmelina
0 1 0 9
asked 07 September, 2021
60 votes
30 answers
2.2K views
Download single files from GitHub

I guess most of you, developers, use any VCS, and I hope some of you use Git. Do you have any tip or trick how

avatar
Adolfo
0 1 0 9
asked 07 September, 2021
63 votes
3 answers
2.3K views
GitHub satanically messing with Markdown - changes 666 to DCLXVI

My GitHub repository has nothing but a readme in it. In this readme, locally I wrote this: Factoids: - There

avatar
Thurman
0 1 0 9
asked 07 September, 2021
58 votes
10 answers
1.2K views
Are Git forks actually Git clones?

I keep hearing people say they're forking code in Git. Git "fork" sounds suspiciously like Git "clone" pl

avatar
Gigi
0 1 0 9
asked 07 September, 2021
51 votes
14 answers
1.8K views
Calculate RSA key fingerprint

I need to do the SSH key audit for GitHub, but I am not sure how do find my RSA key fingerprint. I originally

avatar
Bryan
0 1 0 9
asked 07 September, 2021
50 votes
11 answers
1.7K views
GitHub relative link in Markdown file

Is there a way to create a URL anchor, <a>, link from within a Markdown file, to another file within the

avatar
Elicia
0 1 0 9
asked 07 September, 2021
54 votes
30 answers
484 views
Download a single folder or directory from a GitHub repo

How can I download only a specific folder or directory from a remote Git repo hosted on GitHub? Say the examp

avatar
Roger
0 1 0 9
asked 07 September, 2021
47 votes
30 answers
2.7K views
How can I delete all Git branches which have been merged?

I have many Git branches. How do I delete branches which have already been merged? Is there an easy way to del

avatar
Leonardo
0 1 0 9
asked 07 September, 2021
58 votes
30 answers
2.3K views
How to add images to README.md on GitHub?

Recently I joined GitHub. I hosted some projects there. I need to include some images in my README File. I do

avatar
Benton
0 1 0 9
asked 07 September, 2021
52 votes
22 answers
2.5K views
Can you run GUI applications in a Linux Docker container?

How can you run GUI applications in a Linux Docker container? Are there any images that set up vncserver or so

avatar
Denese
0 1 0 9
asked 07 September, 2021
52 votes
16 answers
1.6K views
How to access host port from docker container

I have a docker container running jenkins. As part of the build process, I need to access a web server that is

avatar
Brianne
0 1 0 9
asked 07 September, 2021
57 votes
3 answers
804 views
Copy directory to another directory using ADD command

I have read http://docs.docker.com/engine/reference/builder/#add however I met a problem. I want to copy the l

avatar
Scot
0 1 0 9
asked 07 September, 2021
59 votes
9 answers
405 views
How to see docker image contents

I did a docker pull and can list the image that's downloaded. I want to see the contents of this image. D

avatar
Patsy
0 1 0 9
asked 07 September, 2021
53 votes
11 answers
1.2K views
How to push a docker image to a private repository

I have a docker image tagged as me/my-image, and I have a private repo on the dockerhub named me-private. When

avatar
Lorenzo
0 1 0 9
asked 07 September, 2021
48 votes
29 answers
1.2K views
Docker error : no space left on device

I installed docker on a Debian 7 machine in the following way $ echo deb http://get.docker.io/ubuntu docker

avatar
Chaya
0 1 0 9
asked 07 September, 2021
57 votes
7 answers
2.2K views
How do I make a comment in a Dockerfile?

I am writing a Dockerfile. Is there a way to make comments in this file? Does Docker have a comment option th

avatar
Jefferey
0 1 0 9
asked 07 September, 2021
59 votes
16 answers
2.1K views
How do you attach and detach from Docker&apos;s process?

I can attach to a docker process but Ctrl+c doesn't work to detach from it. exit basically halts the proc

avatar
Suzan
0 1 0 9
asked 07 September, 2021
58 votes
4 answers
3.1K views
In a Dockerfile, How to update PATH environment variable?

I have a dockerfile that download and builds GTK from source, but the following line is not updating my image&

avatar
Royal
0 1 0 9
asked 07 September, 2021