Bitbucket is another distributed version control tool from Atlasian.
Setup:
Prerequisite 1:
Go to https://bitbucket.org/
and create an account with gmail id and verify email id ( check your gmail inbox
for verification).
Prerequisite 2:
We
have two have two options to choose ( Git and Mercurial , I choose Git)
Download GitHub here ( https://git-scm.com/downloads)
Create Repository:
Be on bitbucket.org and click on repositories -> create
repository -> Enter name “MyFirstRepo”, choose Repository type as Git and
then click on “Create repository”.
Here is your Repo:
https://EmailId@bitbucket.org/Accountname/myfirstrepo.git
Now onwards We just need to follow git hub commands.
·
Open Project folder in Explorer
·
Right click and select Git bash
·
$git init
·
$git add *
·
$git commit –m “my first commit”
·
$git push origin master
Refer: “Commit project via GitBash” in http://kranthikasthuri.blogspot.in/2016/04/git-adding-project-into-githubcom.html
Now Lets create pull request:
Actions -> Create
pull Request
Same as git hub.
No comments:
Post a Comment