Skip to content

obadasemary/rebase-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Edit a file, create a new file, and clone from Bitbucket in under 10 minutes

When you're done, you can delete the content in this README and update the file with details for others getting started with your repository.

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.


Edit a file

You’ll start by editing this README file to learn how to edit a file in Bitbucket.

  1. Click Source on the left side.
  2. Click the README.md link from the list of files.
  3. Click the Edit button.
  4. Delete the following text: Delete this line to make a change to the README from Bitbucket.
  5. 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.
  6. Go back to the Source page.

Create a file

Next, you’ll add a new file to this repository.

  1. Click the New file button at the top of the Source page.
  2. Give the file a filename of contributors.txt.
  3. Enter your name in the empty file space.
  4. Click Commit and then Commit again in the dialog.
  5. Go back to the Source page.

Before 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.


Clone a repository

Use 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.

  1. You’ll see the clone button under the Source heading. Click that button.
  2. Now click Check out in SourceTree. You may need to create a SourceTree account or log in.
  3. When you see the Clone New dialog in SourceTree, update the destination path and name if you’d like to and then click Clone.
  4. Open the directory you just created to see your repository’s files.

Now 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.

Duis a erat nisi. Duis dapibus commodo mi, id malesuada neque ullamcorper ac. Proin vitae risus urna. Donec quis odio vitae eros congue ornare. Aenean rutrum ex vitae nibh iaculis aliquam. Curabitur sodales nec ex in hendrerit. Maecenas vel enim ornare, scelerisque dui hendrerit, aliquet neque. Donec a enim eros. Donec ac maximus risus, quis tincidunt ante. Etiam sed odio lorem. Mauris ornare ante at elit euismod mattis at at libero. Maecenas et facilisis nulla, in pretium lacus. Fusce dictum quam nunc, ac commodo enim luctus non. Phasellus rutrum molestie leo, eu tristique risus scelerisque sit amet. Aliquam ullamcorper lectus in libero imperdiet posuere.

Morbi tempor, enim et laoreet luctus, nisi felis fringilla tortor, in congue arcu massa eget diam. Donec imperdiet velit eu urna malesuada ultricies. Aliquam congue libero a ante egestas, eget ullamcorper dui convallis. Duis odio ante, consequat eu ex nec, auctor ornare tortor. Integer sit amet varius justo. Aliquam dapibus massa leo, a vestibulum nibh ultricies gravida. Nunc quis orci dolor. Morbi tincidunt vel neque sed malesuada. Phasellus mattis nunc ac vulputate fringilla. Donec vitae felis eget lacus lacinia aliquam id condimentum lacus. Aliquam ligula justo, viverra sit amet venenatis sit amet, vestibulum non sem. Sed vehicula velit vehicula viverra semper. Ut metus nisi, aliquet in volutpat non, lacinia non quam. Sed varius sagittis massa feugiat faucibus. Fusce tincidunt feugiat enim vel placerat. Fusce mauris mauris, elementum eu gravida eget, porta at arcu.

About

An example repository for rebase training.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors