You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/fork.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,13 @@ Say you want to contribute changes to someone else's repository (eg,
47
47
-`git push` them back to [github](http://github.com). These will go
48
48
to _your version_ of the repository.
49
49
50
+
- Note: if you get an error like:
51
+
52
+
error: src refspec master does not match any.
53
+
error: failed to push some refs to 'git@github.com:username/the_repo'
54
+
55
+
Then try `git push origin HEAD:gh-pages`[stackoverflow.](http://stackoverflow.com/questions/4181861/src-refspec-master-does-not-match-any-when-pushing-commits-in-git) Typing `git show-ref` can show what reference to put after HEAD.
56
+
50
57
- Go to _your version_ of the repository on github.
51
58
52
59
- Click the “Pull Request” button at the top.
0 commit comments