$ git config --global user.name "Your Name" //姓名 $ git config --global user.email "email@example.com" //邮箱
//进入$HOME/.ssh目录。若是没有建立过ssh密钥,目录为空。 $ cd ~/.ssh $ ssh-keygen -t rsa -C "yourname@hotmail.com"
$ git add . $ git commit -m "备注" $ git remote add coding git@git.coding.net... $ git pull coding master $ git push coding master
/* !.gitignore !fw/ !fw/ 说明:忽略所有内容,可是不忽略 .gitignore 文件、根目录下的 /fw/ 和 /fw/ 目录,二级目录应再次配置;