Set up Git on your machine if you haven't already done so.
$ mkdir /path/to/your/project
$ cd /path/to/your/project
$ git init
$ git remote add origin https://peicheng@bitbucket.org/peicheng/tt.git
Make changes and push
Every project needs a README file. Your README will appear on your homepage and explain what your project is all about.
$ echo "# This is my README" >> README.md
$ git add README.md
$ git commit -m "First Commit. Adding a README."
$ git push -u origin master
沒有留言:
張貼留言