clones inside the same repository • Non-linear history • Revision numbers are local • Commits are offline • Moving and renaming is tracked • Central repository • Branches are copies inside same directory structure • Global linear history • Revisions numbers are sequential and global • Commits are online • Moving and renaming is a combination of delete/add
multiple commits at a time • Mercurial blocks a push where it would create multiple heads in the remote o In this case, pull changes, update, merge, commit and push
• When pulling, changes commited are added as a nameless branch • You can switch to a branch by using • Merging and commiting preserves current branch • To push a non-existant branch to remote, use
update o • Create local changes o • Commit o • Verify outgoing changes and push o o • If you‘re ready to push to base repository, create a pull request