Giter VIP home page Giter VIP logo

git-nerdery-challenge's Introduction

GIT-Nerdery-Challenge

Git Logo



๐Ÿ“ Table of Contents

Introduction

Welcome to this repository, in this case, you must follow the next headlines to should be successful. The topics for this chapter are:

  • Commits
  • Switching about branches
  • Make rebase
  • The use of cherry pick
  • Solve conflicts when merging two branches with the same modifications on the file.

Case

As a developer and expert on Git and GitHub, you were assigned to create and modify a file .md on a remote repository. For following the best practices, you need to organize and perform this challenge by using GitFlow.

Note: For all your commits you must use conventional commits rules

Exercises

  1. Fork this repository.

  2. Clone the repository on your local machine

Initial Repo

Then, add username and email in your git config local for this repository

Git configuration

  1. Create a new branch called develop

  2. Move to develop branch

    I. Create a file called blog.md, and add some description on this (maybe your name or something else).

    II. Save and commit the changes

Add md file

  1. Create a new branch called feature1

    I. Add a one subtitle and a link reference to https://ravn.co on blog.md file.

    II. Save and commit the changes.

    III. Add a second subtitle and some text to blog.md file and commit (task 1)

    IV. Add a subtitle 3 and text to blog.md and commit (task 2)

    V. Add a subtitle 4 and text to blog.md and commit (task 3)

    VI. Join the 3 previous commits into one

    Description of homework

  2. Now, move to develop branch and you must create a new branch called feature2 and move into them

    I. Add other subtitle and a image into blog.md

    II. Save and commit the changes

    Description of homework

  3. Merges

    I. Go to develop branch and merge with feature1

    II. Then merge with feature2 and solve possible conflicts.

    Description of homework

  4. Create a new branch called feature3 from develop branch

    I. Create a new markdown file.

    II. Add some content on the new file created.

    III. Create a commit into this branch.

    IV. Use cherry pick to move the commit into develop branch.

    Postgres logo

  5. Do a git reflog

    I. Take a screenshot of the result.

    II. Attach the screenshot to the main directory of the repository.

    III. Do commit before pushing your changes.

  6. Push all the new branchs into the repository

  7. Make a PR from develop to the initial repository that you fork initially

Postgres logo

git-nerdery-challenge's People

Contributors

ederivero avatar fhereduardo90 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.