1. config git

    Git saves your system config in /etc/gitconfig , user config in ~/.gitconfig or ~/.config/git/config and repository config in .git/config

    Each config will override the previous one so the repository config will override the other config

    Config your username and email:

    $ git config --global user.name "fx-moon"
    $ git …
    Tagged as : git
  2. git learning note

    git learning note


    git init

    This creates a new subdirectory named .git that contains all of your necessary repository files — a Git repository skeleton. At this point, nothing in your project is tracked yet.

    git add

    If you want to start version-controlling existing files (as opposed to an empty directory …

    Tagged as : git

Pages