A free Git & Mercurial client for Windows or Mac.
Bit Bucket:Bitbucket is the Git solution for professional teams. Collaborate on code with inline comments and pull requests. Manage and share your Git repositoriesSource tree and Bitbucket setup
Bitbucket Setup
1)Go to https://bitbucket.org/ and create free accoount
2)Create repository from repository tab
3)copy url of that repository from settings of repository
Source tree setup
1 Download and install source tree
https://www.sourcetreeapp.com/
2 Click on clone/New button
put https://ajinkyas@bitbucket.org/speedyturtlejava/javaturtle.git in source textbox filup details and press clone button
3 open terminal in source tree
type below command to intialise
git init
git remote add origin https://ajinkyasagar@bitbucket.org/speedyturtlejava/javaturtle.git
then
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
4 Go to folder in which you have cloned this repository
just create one text file abc.txt
5 go to source tree you will able to see it in unstaging tab ,select his file it will automatically move up to staging tab
Commit code by adding comment
6 click push button and push code ,now it will show you master option in source tree
YOu are done with setup now do happy coding
No comments:
Post a Comment