git scripts that can help setup/contribute to openebs #442
Closed
Description
The development or contributors work-flow requires the developer running multiple git commands for setting up forked repo, creating dev branches, syncing the dev branches with upstream master etc.,
The tools can be hosted under : openebs/contribute/tools
Some sample scripts can be like:
- setup_remote
#reponame can be either provided as arugment or auto-detected from *git config remote.origin.url*
git remote add upstream https://github.com/openebs/$reponame
git remote set-url --push upstream no_push
git remote -v
- sync_with_master
git checkout master
git fetch upstream master
git rebase upstream/master
git status
git push origin master