git clone命令會在本地主機生成一個目錄,與遠程主機的版本庫同名。若是要指定不一樣的目錄名,能夠將目錄名做爲git clone命令的第二個參數。git
git clone的時候自動加載了fetch和push的主機地址,能夠經過git remote -v來查看。fetch
git addgit commitgit push經過git status查看當前狀態。blog
【1】http://blog.jobbole.com/71091/rem