"Initialized empty Git repository in home/developer/public_html/.git"
五、验证初始化后的状态
git status
应该能看到类似如下的信息:
1 2 3 4 5 6 7 8 9 10 11
# On branch master # # Initial commit # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # .project # bootstrap/ # index.html nothing added to commit but untracked files present (use "git add" to track)
# On branch master # # Initial commit # # Changes to be committed: # (use "git rm --cached <file>..." to unstage) # # new file: bootstrap/css/bootstrap-theme.css推送本地git仓库 # new file: bootstrap/css/bootstrap-theme.min.css # new file: bootstrap/css/bootstrap.css # new file: bootstrap/css/bootstrap.min.css # new file: bootstrap/css/custom.css # new file: bootstrap/css/offcanvas.css # new file: bootstrap/fonts/glyphicons-halflings-regular.eot # new file: bootstrap/fonts/glyphicons-halflings-regular.svg # new file: bootstrap/fonts/glyphicons-halflings-regular.ttf # new file: bootstrap/fonts/glyphicons-halflings-regular.woff # new file: bootstrap/js/bootstrap.js # new file: bootstrap/js/bootstrap.min.js # new file: bootstrap/js/holder.js # new file: index.html # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # .project
# On branch master # # Initial commit # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # .project # bootstrap/ # index.html nothing added to commit but untracked files present (use "git add" to track)