paulund

Git

11 notes

  • Branching Strategies

    This section covers the most common Git branching strategies and the trade-offs between them. Each s...

  • Change Origin of a Git Repository

    Moving a repository to a new host — or renaming it within the same host — is a routine operation. Th...

  • Commit Messages

    A well-written commit message is a gift to your future self and every developer who will read the hi...

  • Creating Pull Requests

    A pull request is the primary mechanism for proposing, discussing, and integrating changes. The way...

  • Git Hooks

    Git hooks are scripts that run automatically at specific points in your workflow — before a commit i...

  • Reviewing Pull Requests

    Reviewing the code of your peers is a critical part of the software development lifecycle. It helps...

  • Stacked Pull Requests

    Stacked pull requests are a workflow in which a larger piece of work is split into a linear series o...

  • Using Multiple SSH Keys

    If you use one machine for both personal and work projects — each backed by a different GitHub accou...

  • Versioning

    Every project needs a clear versioning strategy. Without one, consumers of your code — whether they...

Branching Strategies

  • Gitflow

    Gitflow is a branching model designed around the idea of isolating new development from finished, re...

  • Trunk Based Development

    Trunk-based development is a version control strategy in which all developers work on a single long-...