2017年4月7日 星期五

Git note



1. Install git

2. git config

3. git status

add new folder and file

git status

git add .  (add all files and folders in the folder into index.)     (將新檔案加入索引index)

git commit -m "message"   (將新增的索引,儲存到數據庫 repo)




git log
commit b32578e2b93c6b1f17502363e00cbe22a74e30ba
Author: spyspy <spyhopping101@gmail.com>
Date:   Sat Apr 8 06:07:39 2017 +0800

    wow