- Fork.
- Clone.
git check out -b [name-of-your-feature]
- Edit your code.
git commit -a -m [your-commit-message]
git push --set-upstream origin [name-of-your-feature]
And that's it! Go get your Hacktoberfest swag.
We're a place where coders share, stay up-to-date and grow their careers.
git check out -b [name-of-your-feature]
git commit -a -m [your-commit-message]
git push --set-upstream origin [name-of-your-feature]
And that's it! Go get your Hacktoberfest swag.
For further actions, you may consider blocking this person and/or reporting abuse
Dantechz -
ruchikaatwal -
Isabel Costa -
Saravanan G -
Once suspended, alhern will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, alhern will be able to comment and publish posts again.
Once unpublished, all posts by alhern will become hidden and only accessible to themselves.
If alhern is not suspended, they can still re-publish their posts from their dashboard.
Discussion (3)
I found myself needing the "How to keep updated with the mainstream repo" too:
git checkout master
git remote add upstream <original_repo>
git fetch upstream
git merge upstream master
git push
Your forked repo is now synchronized with the upstream!
Embarrassed to say that I totally needed this reminder for a few minutes last night.
You are not alone 😉 I rely (probably too much) on the (really well made) integration of Git in Webstorm. Therefore I also often have to search what are the commands to submit a PR for a forked project.