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
git checkout master
git pull upstream master
git checkout featurebranch-123
git rebase master
git pull origin featurebranch-123
send pull request
origin = my fork
upstream = the main repo
you add upstream by doing
git remote add upstream <url>
so make sure you have latest master.. branch of that.. work... before you push you make sure master is insync by pulling it.. switch back to your feature branch and rebase it over master.. then push to your fork and send the pull request from there
ALWAYS use feature branches
pretty much NEVER commit to master