Tag: git

59 votes
17 answers
665 views
How to add screenshot to READMEs in github repository?

Is it possible to place a screenshot in README file in a GitHub repository? What's the syntax?

avatar
Alphonso
0 1 0 9
asked 07 September, 2021
56 votes
8 answers
2.9K views
Updating a local repository with changes from a GitHub repository

I've got a project checked locally from GitHub, and that remote repository has since had changes made to

avatar
Chaya
0 1 0 9
asked 07 September, 2021
56 votes
30 answers
2.5K views
git error: failed to push some refs to remote

For some reason, I can't push now, whereas I could do it yesterday. Maybe I messed up with configs or som

avatar
Boyd
0 1 0 9
asked 07 September, 2021
63 votes
9 answers
811 views
What is the difference between GitHub and gist?

What is the purpose of gist and how is it different from regular code sharing/maintaining using GitHub?

avatar
Wilber
0 1 0 9
asked 07 September, 2021
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
840 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
851 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
2.9K 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
344 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
948 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