PageRenderTime 62ms CodeModel.GetById 46ms app.highlight 11ms RepoModel.GetById 2ms app.codeStats 0ms

Markdown | 45 lines | 29 code | 16 blank | 0 comment | 0 complexity | b51f253af5a2f8fa0a1f5a7ed1f5d893 MD5 | raw file
 1**Edit a file, create a new file, and clone from Bitbucket in under 2 minutes**
 3When you're done, you can delete the content in this README and update the file with details for others getting started with your repository.
 5*We recommend that you open this README in another tab as you perform the tasks below. You can [watch our video]( for a full demo of all the steps in this tutorial. Open the video in a new tab to avoid leaving Bitbucket.*
 9## Edit a file
11You’ll start by editing this README file to learn how to edit a file in Bitbucket.
131. Click **Source** on the left side.
142. Click the link from the list of files.
153. Click the **Edit** button.
164. Delete the following text: *Delete this line to make a change to the README from Bitbucket.*
175. After making your change, click **Commit** and then **Commit** again in the dialog. The commit page will open and you’ll see the change you just made.
186. Go back to the **Source** page.
22## Create a file
24Next, you’ll add a new file to this repository.
261. Click the **New file** button at the top of the **Source** page.
272. Give the file a filename of **contributors.txt**.
283. Enter your name in the empty file space.
294. Click **Commit** and then **Commit** again in the dialog.
305. Go back to the **Source** page.
32Before you move on, go ahead and explore the repository. You've already seen the **Source** page, but check out the **Commits**, **Branches**, and **Settings** pages.
36## Clone a repository
38Use these steps to clone from SourceTree, our client for using the repository command-line free. Cloning allows you to work on your files locally. If you don't yet have SourceTree, [download and install first]( If you prefer to clone from the command line, see [Clone a repository](
401. You’ll see the clone button under the **Source** heading. Click that button.
412. Now click **Check out in SourceTree**. You may need to create a SourceTree account or log in.
423. When you see the **Clone New** dialog in SourceTree, update the destination path and name if you’d like to and then click **Clone**.
434. Open the directory you just created to see your repository’s files.
45Now that you're more familiar with your Bitbucket repository, go ahead and add a new file locally. You can [push your change back to Bitbucket with SourceTree](, or you can [add, commit,]( and [push from the command line](