git - Checkout, Fetch and Pull in BitBucket SourceTree -


i using bitbucket web based hosting of our projects. along using sourcetree committing , such purpose. bit confused checkout, fetch , pull option available in sourcetree interface , usage. can familiar tool explains usage of these options available in sourcetree?

using atlassian's git tutorial (link updated) reference.

git checkout:

the git checkout command lets navigate between branches created git branch. checking out branch updates files in working directory match version stored in branch, , tells git record new commits on branch. think of way select line of development you’re working on.

source: https://www.atlassian.com/git/tutorials/using-branches#git-checkout

git pull:

you can think of git pull git's version of svn update. it’s easy way synchronize local repository upstream changes. following diagram explains each step of pulling process.

source: https://www.atlassian.com/git/tutorials/syncing#git-pull

git fetch:

the git fetch command imports commits remote repository local repo. resulting commits stored remote branches instead of normal local branches we’ve been working with. gives chance review changes before integrating them copy of project.

source: https://www.atlassian.com/git/tutorials/syncing#git-fetch


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -