-
Notifications
You must be signed in to change notification settings - Fork 3
git developer workflow
Sarath edited this page Aug 31, 2014
·
2 revisions
- Fork the project
- Clone the repository to your local computer.
$ git clone https://github.com/<username>/scribus- Take a nap / Go for a walk / Read those awesome blogs you bookmarked under 'Read Later'
- Add an upstream remote to
scribusproject/scribus
$ git remote add upstream https://github.com/scribusproject/scribus- Checkout
svnbranch
$ git checkout svn- Pull the svn branch from upstream
$ git checkout svn
$ git pull upstream svn- Pull the master branch from upstream
$ git checkout master
$ git pull upstream master- Before merging the svn updates into
master, create a new temporary branch based offmaster
$ git checkout master # (optional) make sure you are in master
$ git branch mergeWithSVN- Merge the
svnbranch into the newly created temporary branch. Uses the-X theirsstrategy which picks thesvnbranch version in case of conflicts.
$ git merge svn -X theirs- Push the mergeWithSVN branch to your github repository
<username>/scribus
$ git push origin mergeWithSVN- Open a pull request from
<username>/scribus:mergeWithSVNtoscribusproject/scribus:master