hub-killer / git-notes

learning how to use git
0 stars 0 forks source link

Reposity's current status. #4

Open bitfishxyz opened 5 years ago

bitfishxyz commented 5 years ago

If you want to see your changes timeline, you can use:

git log

git status

it will compare the difference between working dir and your last commit. and checkout what has saved to stage and what has not.

# git status
On branch master
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

    modified:   greatest.txt

Untracked files:
  (use "git add <file>..." to include in what will be committed)

    hello.txt