Best of GitMarch 2024

  1. 1
    Article
    Avatar of antonzAnton Zhiyanov·2y

    Git by example: interactive guide

    An interactive guide to Git operations, from basic to advanced. Covers creating a repo, working tree, staging area, repository, branching, merging, remote syncing, undoing changes, and more.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    Advanced git commands every senior software developer needs to know

    Learn advanced git commands that can help you improve productivity and optimize your workflow. Topics include selective and shallow git clone, inspecting git history, comparing revisions, committing, rebasing, cherry-picking, merging, managing multiple remotes and branches, keeping repositories tidy, and enhancing the git experience with Liquip Prompt and fzf.

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    Best practices for pull requests

    Best practices for creating and managing pull requests include writing small PRs, reviewing your own pull request first, providing context and guidance, using pull request templates, defining code owners, using protected branches, and using automated tools to review code styling.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    What is a good message and size for a commit?

    Learn about the importance of writing commit messages, guidelines for commit size, patterns for splitting commits, and tips for writing good commit messages. The post also introduces tools that can assist with writing commits.

  5. 5
    Article
    Avatar of lobstersLobsters·2y

    Why Facebook doesn’t use Git

    Facebook chose to use Mercurial instead of Git due to performance issues and the willingness of the Mercurial community to collaborate. They considered alternatives such as Perforce and Bitkeeper but ultimately found Mercurial to have cleaner architecture. Facebook successfully migrated their engineering organization to Mercurial.

  6. 6
    Article
    Avatar of communityCommunity Picks·2y

    Modern Git Commands and Features You Should Be Using

    Discover modern git commands and features that can greatly improve your workflow.

  7. 7
    Article
    Avatar of medium_jsMedium·2y

    Custom pre-commit hooks for safer code changes

    This post provides a step-by-step guide on using custom pre-commit hooks to ensure code quality. It covers how to start using pre-commit hooks, creating a custom pre-commit hook, and testing the hook locally.

  8. 8
    Video
    Avatar of communityCommunity Picks·2y

    Stow has forever changed the way I manage my dotfiles

    Stow is a tool that has revolutionized the management of dotfiles. It simplifies the process and allows for easy setup and configuration. With Stow, users can create symbolic links to their dotfiles, enabling seamless integration into their home folder. Additionally, Stow works harmoniously with version control, allowing for easy rollbacks and remote repository integration.

  9. 9
    Article
    Avatar of frontendmastersFrontend Masters·2y

    Tower vs. GitHub Desktop

    A comparison of Tower and GitHub Desktop, two popular GUI Git clients. Tower has a more convenient option for running Git Hooks, while GitHub Desktop handles keeping files staged after minor changes better. GitHub Desktop also offers better integration with Pull Requests (PRs) and GitHub Actions. Tower has features like undo and Reset HEAD that are missing in GitHub Desktop. Overall, GitHub Desktop is preferred due to its UI/UX, being free, and its connection to the Git hosting service provided by GitHub.