Get code into Bitbucket fast using the command line
Command line
Set up your local directory
Set up Git on your machine if you haven‘t already.
mkdir /path/to/your/projectcd /path/to/your/projectgit initgit remote add origin https://[email protected]/wcj543680484/test.git
Create your first file, commit, and push
echo "wang caijie" >> contributors.txtgit add contributors.txtgit commit -m ‘Initial commit with contributors‘git push -u origin master
Great job, now you‘re all set up! Get started coding or create a team and invite people to work with you.
时间: 2024-12-28 23:12:17