In: Computer Science
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
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
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".
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
Method #2 - Through the Remote Repository (e.g. Bitbucket Cloud or Bitbucket Server)
ii)Fetching:
iii.Pulling:
iv.Staging
v.Committing:
vii.Pushing