chris tang@Christang MINGW64 /d/文档/git test (master)
$ echo 'ceshi'>>one.txt
查看有什么内容没有被commit
chris tang@Christang MINGW64 /d/文档/git test (master)
$ git status
On branch master
Untracked files:
(use "git add <file>..." to include in what will be committed)
one.txt
nothing added to commit but untracked files present (use "git add" to track)
添加未被commit的内容
chris tang@Christang MINGW64 /d/文档/git test (master)
$ git add one.txt
warning: LF will be replaced by CRLF in one.txt.
The file will have its original line endings in your working directory