1. [Git] Branching

    Create new branch

    git branch feature

    Check available branches git branch

    Switch to branch git checkout feature

    add/commit files, will be only visible in branch

    Merge

    go to main branch and merge

    git checkout master

    git merge feature

    Remove branch

    git branch -d feature

Notes

  1. fiesefalle posted this