git使用笔记一:

Get code into Bitbucket fast using the command line

Set up your local directory

Set up Git on your machine if you haven't already.

mkdir /path/to/your/project

cd /path/to/your/project

git init

git remote add origin https://wcj543680484@bitbucket.org/wcj543680484/test.git

Create your first file, commit, and push

echo "wang caijie" >> contributors.txt

git add contributors.txt

git commit -m 'Initial commit with contributors'

git push -u origin master
原文地址:https://www.cnblogs.com/cj2014/p/4806226.html