Question

In: Computer Science

a. What is Bitbucket and how do I get there? b. What is Sourcetree? c. How...

a. What is Bitbucket and how do I get there?

b. What is Sourcetree?

c. How do I get Sourcetree and install it?

d. With a lot of details and screen shots show the following with Sourcetree

i.Clone a repository from Bitbucket

ii.Fetching

iii.Pulling

iv.Staging

v.Committing

vii.Pushing

Solutions

Expert Solution

a) Bitbucket i: it is a web-based version control repository hosting service owned by Atlassian, for source code and development projects that use either Mercurial or Git revision control systems. Bitbucket offers both commercial plans and free accounts. It offers free accounts with an unlimited number of private repositories (which can have up to five users in the case of free accounts).

You can control access to your workspace's repositories by adding specific user groups or individual users. To create groups, go to Repository settings > User and group access. If a user deletes his or her account, Bitbucket automatically deletes that user from all repository access lists.

b.Sourcetree: it is a free Git desktop client for developers on Windows. Say goodbye to the command line and use the full capabilities of Git through Sourcetree’s beautifully simple interface.

c)On Mac go to the SourceTree menu and hit "Registration", from here you can login to your my.atlassian.comaccount and it'll automatically download your license file. The same applies to Windows, except the option is in File > Registration.

install SourceTree

  • Download SourceTree from their website
  • Click "Run" to start the installer
  • Click "Next"
  • Click "Next"
  • Click "Install"
  • When asked if you'd like to allow SourceTree to make changes to your computer, click "Yes"
  • Click "Finish"
  • Agree to the license agreement
  • Choose whether or not you want to "Help improve SourceTree"
  • Allow SourceTree to "Configure automatic line ending handling"
  • Click "Continue"
  • Click "Next"
  • Click "Yes" when asked about a global ignore file. (This is a good practice, and will help keep your git repositories clean.)

I'm not going to add any accounts at this time. When we create accounts on BitBucket and GitHub, we'll come back and add them at that time. But for now, I'll click "Skip Setup".

  • When asked to load an SSH key, click "No". We'll do that later.

Now, I'll click "File => Open", navigate to a git repo, and click "Select Folder", then click "OK". When I do that, you'll see it in the list.

When I select that list item, SourceTree shows information about the repo with buttons that I can use to perform actions like Commit, Checkout, Push and Pull. If I click the "Log/History" tab at the bottom, I'll see a visual representation of the repo history.

Since we're justing getting started with Git, a lot of this might not make sense to you. Don't worry, though, as we go through the series, we'll come back to SourceTree to help visualize what's going on in Git.

I'll be working in the Mac version of SourceTree, but the interfaces are similar enough that you should be able to follow along without any issues.

d) i) .Clone a repository from Bitbucket :

Method #1 - Directly through the SourceTree's Main UI

  1. Click on the "Clone/New" button.
  2. Click on "Clone Repository".
  3. Fill in the remote repository URL (Both HTTPS and SSH will work) and all other details. Click "Clone".

Method #2 - Through the Remote Repository (e.g. Bitbucket Cloud or Bitbucket Server)

  1. Click "Clone in SourceTree".
  2. SourceTree will open, and a URL Actions pop-up window should appear with the details of the repository you're cloning. Click "Clone" to proceed.

ii)Fetching:

iii.Pulling:

iv.Staging

v.Committing:

  1. Click Commit in the toolbar.
  2. Select the files to commit in the Pending files panel.
  3. Enter a commit message.
  4. Click Commit at the bottom of the window.

vii.Pushing

  1. Click Push in the toolbar.
  2. Select the local branch to push and the remote branch to push to.
  3. Click OK.


Related Solutions

c++ How do I get it before a particular string when I use <ifstream>? For example,...
c++ How do I get it before a particular string when I use <ifstream>? For example, when it's 'Apple: fruit', I only want to get the previous ':' text (Apple). And then I want to move on to the next row. How can i do?
(A) How do cancer cells get the hallmarks/skills of cancer? (B) Do different cancers get the...
(A) How do cancer cells get the hallmarks/skills of cancer? (B) Do different cancers get the hallmarks/skills of cancer in the same way? Why or why not? (C) Do different cancers get the hallmarks/skills of cancer in the same order? Why or why not?
How do you get the annual payment amount to this question? I was able to get...
How do you get the annual payment amount to this question? I was able to get the monthly payment amount which is $86,136.50 home / study / business / finance / finance questions and answers / a client of mr. richards wants to purchase a large commercial building. the building cost $20 ... Question: A client of Mr. Richards wants to purchase a large commercial building. The building cost $20 mil... A client of Mr. Richards wants to purchase a...
How do I get the total for Shareholder's Equity and net income for 2015 if I...
How do I get the total for Shareholder's Equity and net income for 2015 if I have the info below. Beginning Retained earning for 2016 was given as 5,173,286 which I know I could use as ending RE for 2015. However, I tried to calculate how they was able to get to that number and I could not come up with a number that would match that. Thank you. accumulated other comprehensive income (loss): 621,236 accumulated depreciation, PPE: 1,829,634 additional...
how do you get the sum of all elements in a stack in c++ ?
how do you get the sum of all elements in a stack in c++ ?
in verilog if i have a hex number how do i get a specific 4 bits?...
in verilog if i have a hex number how do i get a specific 4 bits? for exampe if i have a hex number 5055 how do i get the last four bits which would be 0101?
how do i run 3 files on c++?
how do i run 3 files on c++?
I am calculating the payback. How do you get the numerator to be $684,604?
I am calculating the payback. How do you get the numerator to be $684,604?
Can I get a Step by Step on how to do this problem Test the claim...
Can I get a Step by Step on how to do this problem Test the claim that the proportion of people who own cats is larger than 80% at the 0.005 significance level. The null and alternative hypothesis would be: H0:p≤0.8H0:p≤0.8 H1:p>0.8H1:p>0.8 H0:μ=0.8H0:μ=0.8 H1:μ≠0.8H1:μ≠0.8 H0:p≥0.8H0:p≥0.8 H1:p<0.8H1:p<0.8 H0:p=0.8H0:p=0.8 H1:p≠0.8H1:p≠0.8 H0:μ≥0.8H0:μ≥0.8 H1:μ<0.8H1:μ<0.8 H0:μ≤0.8H0:μ≤0.8 H1:μ>0.8H1:μ>0.8 The test is: right-tailed left-tailed two-tailed Based on a sample of 700 people, 82% owned cats The test statistic is:  (to 2 decimals) The p-value is:  (to 2 decimals) Based...
How to do cross product of |(B-A)x (C-A)|
How to do cross product of |(B-A)x (C-A)|
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT