Re:How to contribute to an open source project on GitHub
by rcfox on Sunday November 06, 2016 @08:06AM
(#12884896)
FYI: GitHub will create a branch in your repo for pull requests. You shouldn't need to pull directly from someone else's repo just to look at their pull request.
Re:How to contribute to an open source project on GitHub
by brobinson on Sunday November 06, 2016 @04:38PM
(#12887192)
Didn't know you could pull by ID! Thanks!
Re:How to contribute to an open source project on GitHub
by brobinson on Saturday November 05, 2016 @06:48PM
(#12882337)
Too late to edit, but that should be:
git checkout -t theirusername/theirbranchname
Re:How to contribute to an open source project on GitHub
by cynicaldevil on Saturday November 05, 2016 @03:22PM
(#12881405)
Same here. Except I use 'myfork' as the name for my remote repo. Origin/upstream always got me confused when I first started learning Git, so I created my own naming conventions.
I keep 'origin' as the canonical remote and my local master branch tracks origin/master. I use people's usernames for their remotes (including for my own).
If I'm pushing a feature branch to my own remote:
If I need to checkout someone's PR, it's: I've seen people at work who are new to git/Github struggle a lot with the 'origin'/'upstream' differentiation recently, especially when they're learning branching, and they don't seem to have any problems once I switch them over to using 'origin' + usernames.