Skip to content

36th Week of 2023

Computer Science

GNULinux

Git

  • New: Add patch realted commands.

    To create a patch of the current unstaged changes:

    git diff > patch.diff
    

    To apply a patch:

    git apply patch.diff
    

    Or if you have it in your clipboard, just run git apply and paste it.