Git (1 day)

Improve Git skills by switching to command line.

Course Objectives

● Improve your git skills by switching to command line ● Understand the relationship of git commands with the different stages (stash, workspace, index, local and remote repository) ● Understand merging vs rebasing  ● Tips on keeping your history clean

Content formation

● Git from the command line

● Git basics:

    * Create a repository

    * Aliasing

    * Create branches, branching strategy

    * Commit, Revert, Cherry-pick

    * Tag commits

    * Synchronize with remote repositories

    * Resolve conflicts

● Git advanced

   * Purge entire history of sensitive information

   * Recover lost commits

   * Squash multiple commits into one

   * Hunked commits

   * Hunt for bugs using bisect