Git Intermediate Techniques

Git Intermediate Techniques

1h 44mIntermediate2022-11-14

Authors

Kevin Skoglund

Kevin Skoglund

Founder of NovaFabrica

Course details

Enhance your Git skillset, and explore intermediate techniques and concepts that can help you work more efficiently with the popular open-source version control software. Instructor Kevin Skoglund shares branch management techniques, like deleting and pruning, and how to use tags to mark important points in the branch history. Learn to use interactive staging to stage small portions of a file, cherry-picking to share commits between branches, patches to share commits with others, and techniques for tracking down problems in your project. Kevin demystifies the rebase command and explains when to choose rebasing over merging.

Skills covered

GitVersion ControlDevOps ToolsDevOpsOpen SourceSoftware DevelopmentOne-Off

Concepts

Introduction

  • Get more from Git
  • Using the exercise files on GitHub

Branch Management

  • Force push to a remote
  • Identify merged branches
  • Prune stale branches

Tagging

  • Create and delete tags
  • List tags
  • Push tags to a remote

Interactive Staging

  • Interactive mode
  • Patch mode
  • Split a hunk
  • Edit a hunk

Share Select Changes

  • Cherry-picking commits
  • Resolve cherry-picking conflicts
  • Create diff patches
  • Apply diff patches
  • Create formatted patches
  • Apply formatted patches

Rebasing

  • Rebase commits
  • Perform a rebase
  • Merging vs. rebasing
  • Interactive rebasing
  • Squash commits
  • Pull rebase

Track Down Problems

  • Log options
  • Blame
  • Bisect

Conclusion

  • Next steps
40,000 Toman