Coder Social home page Coder Social logo

exemplar-php-rebasing's Introduction

Rebase 101

There are two rebasing exercises to complete.

Useful Reading

Explanation and overview of rebasing

https://www.benmarshall.me/git-rebase/

Comparison of rebasing and merging

https://slides.com/paul_melero/git-rebase#/21/0/0

Now complete the exercises below

Dont be afraid to ask your line manager or a colleague for help completing this exercises

EXERCISE 1

Goals

You should end up with a single consolidated readme file - this will generate conflicts that need will resolving!

In each of the branches you will find an edited readme with instructions for the rebase task, complete each task using rebase then merge these updated changes back to the trunk. Once complete submit a pull request to this repository and assign to your line manager for review!

Instructions

Fork this repository to your personal GitHub account, this will copy all branchs for you to work on locally, then complete the two tasks using the rebase command (see readme on each branch for details). When complete you should merge the TASK-X branches to the trunk branch.

At the outset the branch tree looks like this:

image

Once complete the tree should be a single linear commit history resembling that below

image

The commit history should resemble the following

image

Add branch readme instruction segments (from merge conflicts) here:

REMOVE_THIS_PLACEHOLDER

EXERCISE 2

Fork the repository below and follow the instructions. This time, once complete, share the forked repository with your line manager for review!

https://github.com/lineten/exemplar-workshop-git-rebase

exemplar-php-rebasing's People

Contributors

digitalbanana avatar kambizkatani avatar ljay79 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.