Tag: github

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
55 votes
15 answers
854 views
Delete forked repo from GitHub

I'm starting with git and GitHub and there's a project I'm watching on GitHub. I unintentionall

avatar
Chaya
0 1 0 9
asked 07 September, 2021
61 votes
30 answers
1.9K views
Pushing to Git returning Error Code 403 fatal: HTTP request failed

I was able to clone a copy of this repo over HTTPS authenticated. I've made some commits and want to push

avatar
Renaldo
0 1 0 9
asked 07 September, 2021
55 votes
8 answers
1.6K views
Pull new updates from original GitHub repository into forked GitHub repository

I forked someone's repository on GitHub and would like to update my version with commits and updates made

avatar
Arline
0 1 0 9
asked 07 September, 2021
58 votes
14 answers
2K views
There is no tracking information for the current branch

I've been using github from a relatively short period, and I've always used the client to perform co

avatar
Suzan
0 1 0 9
asked 07 September, 2021
57 votes
29 answers
3K views
Git keeps prompting me for a password

I've been using Git for a while now, but the constant requests for a password are starting to drive me up

avatar
Cortez
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
62 votes
18 answers
2.6K views
Make the current commit the only (initial) commit in a Git repository?

I currently have a local Git repository, which I push to a Github repository. The local repository has ~10 c

avatar
Daniel
0 1 0 9
asked 07 September, 2021
68 votes
30 answers
348 views
GitHub Error Message - Permission denied (publickey)

Anybody seen this error and know what to do? I'm using the terminal, I'm in the root, the GitHub re

avatar
Corey
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
59 votes
8 answers
2.6K views
Link to the issue number on GitHub within a commit message

Is it somehow possible to automatically have a link to GitHub issue number in the git commit message?

avatar
Freida
0 1 0 9
asked 07 September, 2021
59 votes
30 answers
950 views
Git push results in "Authentication Failed"

I have been using Github for a little while and I have been fine with git add, git commit, and git push so far

avatar
Royal
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
56 votes
16 answers
1.6K views
How to install an npm package from GitHub directly

Trying to install modules from GitHub results in this error: ENOENT error on package.json. Easily reproduced

avatar
Jesenia
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
62 votes
8 answers
2.6K views
Create a tag in a GitHub repository

I have a repository in GitHub and I need to tag it. I tagged in a shell, but on GitHub, it is not showing up.

avatar
Clarice
0 1 0 9
asked 07 September, 2021
55 votes
16 answers
1.9K views
How to remove a directory from git repository?

I have 2 directories on my GitHub repository. I'd like to delete one of them. How could I do that without

avatar
Venice
0 1 0 9
asked 07 September, 2021