git新建倉庫的使用&新建項目加入倉庫

本文參考至git 的創建步驟

or create a new repository on the command line

echo "# LeeCodeTest" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/*******
git push -u origin master

…or push an existing repository from the command line

git remote add origin https://github.com/luotongluo/****
git push -u origin master

or import code from another repository

You can initialize this repository with code from a Subversion, Mercurial, or TFS project.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章