forked from TryGhost/Ghost
-
Notifications
You must be signed in to change notification settings - Fork 0
Git Update
Matthew Harrison-Jones edited this page Jun 21, 2013
·
1 revision
Update a branch with new updates based on Ghost Git Workflow.
- Unzip
git-update.zip - Open up git-update directory
- Run
sh git-update-install.shfrom terminal.
Ref: git update --help
git update [-m|--master <branch-name>] [-b|--branch <branch-name>]
--master Sets the target branch to retrieve updates from. Defaults to master.
--branch Sets the target branch to apply and rebase updates to. Defaults to the current branch.
--help Display man git-update pages.
git update: Updates current branch with master updates
git update -m different-base-branch -b new-branch: Update new-branch with updates from different-base-branch