- Log into Bitbucket under your individual account.
- Click Repositories > Create repository or the Create new repository link.
- Choose a repository Owner.
This only appears if you are creating under an account with membership in one or more teams. - Enter a Name and Description for your repository.
- Tick Private if you want to hide your repository from the general public, so that only selected people can see it.
- Select the Repository type.
- Click Create repository.
For example, if you have an existing project to push up:
cd /path/to/my/repo
git remote add origin ssh://git@bitbucket.org/username/bbreponame.git
git push -u origin --all
Or if you are starting from scratch:
mkdir /path/to/your/project
cd /path/to/your/project
git init
git remote add origin ssh://git@bitbucket.org/username/bbreponame.git
https://confluence.atlassian.com/display/BITBUCKET/Create+a+repository
沒有留言:
張貼留言