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
Sun Seng David TAN edited this page Apr 4, 2014
·
3 revisions
Git daily usage. Working with a local master branch.
The simplest way is to work always with master:
git checkout master
Update changes from origin remote repository
if you have local changes before doing anything save your work with:
git stash
Then
git pull --rebase
It will fetch the new changeset from origin/master AND rebase your changeset from the current local master branch on top of it. you may have some conflict to resolve.