Posts

Showing posts from February, 2024

These are common Git commands used in various situations:

start a working area (see also: git help tutorial)    clone     Clone a repository into a new directory    init      Create an empty Git repository or reinitialize an existing one work on the current change (see also: git help everyday)    add       Add file contents to the index    mv        Move or rename a file, a directory, or a symlink    restore   Restore working tree files    rm        Remove files from the working tree and from the index examine the history and state (see also: git help revisions)    bisect    Use binary search to find the commit that introduced a bug    diff      Show changes between commits, commit and working tree, etc    grep      Print lines matching a pattern    log       Show commit logs   ...