$ cd /path/to/your/project
$ git init
$ git remote add origin {server的git repository}//若有server的話,連接到server的repository
$ echo "# This is my README" >> README.md
$ git add README.md
$ git commit -m "First Commit. Adding a README."
$ git push -u origin master
參考自:bitbucket的建置說明
參考自:bitbucket的建置說明
沒有留言:
張貼留言