Sourcetree 您所在的位置:网站首页 图形化git软件推荐 Sourcetree

Sourcetree

2023-06-29 05:50| 来源: 网络整理| 查看: 265

As our new Bitbucket space station administrator, you need to be organized. When you make files for your space station, you鈥檒l want to keep them in one place and shareable with teammates, no matter where they are in the universe. With Bitbucket, that means adding everything to a repository. Let鈥檚 create one!

Step 1: Create the repository

Initially, the repository you create in Bitbucket is going to be empty without any code in it. That's okay because you will start adding some files to it soon. This Bitbucket repository will be the central repository for your files, which means that others can access that repository if you give them permission.聽You will also copy a version of that repository to your local system鈥攖hat way you can update it from one聽repo, then transfer those changes to the other.

Central repo to local repo

Do the following to create your repository:

From聽Bitbucket,聽click聽聽the聽聽+聽聽icon in the global sidebar and select聽Repository. Bitbucket displays the聽Create a new repository聽page. Take some time to review the dialog's contents. With the exception of the聽Repository type, everything you enter on this page you can later change.

Enter BitbucketStationSupplies for the聽Name聽field. Bitbucket uses this聽Name聽in the URL of the repository. For example, if the user the_best has a repository called awesome_repo, the URL for that repository would be https://bitbucket.org/the_best/awesome_repo.

Keep the rest of the options as is unless you want to change them:

Access level 鈥擫eave the聽This is a private repository聽box聽checked.聽A private repository is only visible to you and those with access. If this box is unchecked, anyone can see your repository.

Include a聽README? 鈥擨f you recently created your account, this defaults to a tutorial README.聽For the purposes of this tutorial, pick either of the聽Yes聽options, that way you'll start out with a file.

From聽Version control聽system, you can choose either聽Git聽or聽Mercurial. If you aren't sure which one to go with, keep聽Git聽as your option.

Click聽Create repository.聽Bitbucket creates your repository and displays its聽Source聽page.



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有