-
Notifications
You must be signed in to change notification settings - Fork 32
Stay in Sync with Base Repository
##How to stay in Sync with the Base repository (appteam nith festnumbus)
-
Add upstream remote handle
git remote add upstream https://github.com/appteam-nith/festnimbus.git -
Track the repository through github.com or slack if you are in the group. (mail at [email protected] if you wish to be added)
Alternatively
git pull upstream masterAnd see if your branch is up to date with upstream master
-
If you were making some changes or any error occurs, stash your changes
git stash -
Now try pulling from upstream again
git pull upstream master -
Now push this updated code to your forked repo
git push origin masterorgit push origin master -f(forcefully if errors) -
Now pop your stashed code and start working
git stash pop -
Solve the conflicts (if any) and after work is done push to your repo and create pull request as explained above.