Tag: github

60 votes
19 answers
2.1K views
GitHub "fatal: remote origin already exists"

I am trying to follow along Michael Hartl's Rails tutorial but I've run across an error. I signed

avatar
Deedee
0 1 0 9
asked 07 September, 2021
51 votes
15 answers
1.8K views
Link and execute external JavaScript file hosted on GitHub

When I try to change the linked reference of a local JavaScript file to a GitHub raw version my test file stop

avatar
Margo
0 1 0 9
asked 07 September, 2021
60 votes
5 answers
964 views
Change name of folder when cloning from GitHub?

When I clone something from Github, it creates a folder with the same name as the app on my computer. Is there

avatar
Serina
0 1 0 9
asked 07 September, 2021
60 votes
13 answers
2.4K views
Why is a git 'pull request' not called a 'push request'?

The terminology used to merge a branch with an official repository is a 'pull request'. This is conf

avatar
Adolfo
0 1 0 9
asked 07 September, 2021
58 votes
4 answers
405 views
How can I reference a commit in an issue comment on GitHub?

I find a lot of answers on how to reference a GitHub issue in a git comment (using the #xxx notation). I'

avatar
Rudolf
0 1 0 9
asked 07 September, 2021
55 votes
13 answers
2.3K views
Git push existing repo to a new and different remote repo server?

Say I have a repository on git.fedorahosted.org and I want to clone this into my account at github to have my

avatar
Rudy
0 1 0 9
asked 07 September, 2021
58 votes
9 answers
1.9K views
How to state in requirements.txt a direct github source

I've installed a library using the command pip install git+git://github.com/mozilla/elasticutils.git whi

avatar
Keila
0 1 0 9
asked 07 September, 2021
56 votes
27 answers
1.9K views
GitHub: invalid username or password

I have a project hosted on GitHub. I fail when trying to push my modifications on the master. I always get the

avatar
Juliane
0 1 0 9
asked 07 September, 2021
51 votes
16 answers
2.3K views
Can you get the number of lines of code from a GitHub repository?

In a GitHub repository you can see “language statistics”, which displays the percentage of the project tha

avatar
Stacia
0 1 0 9
asked 07 September, 2021
61 votes
10 answers
2.2K views
git - remote add origin vs remote set-url origin

I create a new repository: git init echo "# MESSAGE" >> README.md git add README.md git commit -m "first

avatar
Sena
0 1 0 9
asked 07 September, 2021
65 votes
21 answers
2.9K views
Remote origin already exists on 'git push' to a new repository

I have my project on GitHub at some location, [email protected]:myname/oldrep.git. Now I want to push all my cod

avatar
Thurman
0 1 0 9
asked 07 September, 2021
56 votes
14 answers
552 views
Import existing source code to GitHub

How can I import source code from my computer to my GitHub account?

avatar
Nereida
0 1 0 9
asked 07 September, 2021
61 votes
6 answers
1K views
Pull request vs Merge request

What is the difference between a Pull request and a Merge request? In GitHub, it's a Pull Request while i

avatar
Louetta
0 1 0 9
asked 07 September, 2021
57 votes
30 answers
1.3K views
SSH Key - Still asking for password and passphrase

I've been somewhat 'putting up' with Github always asking for my username and password when I c

avatar
Dario
0 1 0 9
asked 07 September, 2021
58 votes
5 answers
1.3K views
How to update a pull request from forked repo?

So I first forked a repo and then made a commit to that forked repo. I then opened a pull request. The pull re

avatar
Lorenzo
0 1 0 9
asked 07 September, 2021
52 votes
5 answers
3.1K views
When does Git refresh the list of remote branches?

Using git branch --all shows all remote and local branches. When does Git refresh this list? On pull/push? An

avatar
Solomon
0 1 0 9
asked 07 September, 2021
59 votes
17 answers
669 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
814 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