Hello! � 簡報提供:MIS 2 A 104403521 You can find me at: evan 11401@gmail. com 2
0. What is Version control 先從以下幾張照片說起 3
1. GIT Basic concept 9
add Working 放在資料夾中的檔案 Directory ls com mit Staging 暫存你想存檔的檔案 AREA REPOSITO Git的版本控制資料庫 RY git status git log 10
檔案的狀態 Working Directory untracked modified Staging AREA REPOSITO RY staged umodified 13
File status $ Untracked files // 全新的檔案, git會當他不存在 $ Changes not staged for commit // 被修改過的檔案 $ Changes to be committed // From staging area to working directory 14
File Move And Rename $ git mv <file> <directory> // 把檔案移到某個資料夾底下 $ git mv <file> <new_name> // 把檔案重新命名 $操作完會自動在Staging AREA中 // Status changes to be committed 15