日度归档:2019年12月22日

git commands manual

  • let git manage a code repository:
    git init

  • stage modified files or add untracked files to git repo:
    git add <files>

  • stage all tracked files(this is very useful especially if you have multiple files to be staged):
    git add -u

Read the rest