It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hi All 

I have started using a Bitbucket for a while but one command is keeping me in nightmare, which is a git fetch. I have gone through all the online blogs and examples and every where I found that git fetch is used to download the remote commits.

But I am quite confused here,my use case goes like this

when I create a new remote branch(say feature/101 directly online) and do a git fetch from local it brings up the remote branch(feature/101) into my local whereas if I change/add any file remotely (directly online editing) within that branch feature/101 and do a git fetch those files are not reflecting in my local copy. I know  I can use git pull to meet my requirement but  I really want to understand the real scope of git fetch.

 

Any answer from you all will be really appreciated.....

 

Thanks

 

 

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Training & Certification

Atlassian University Live: Conquering Jira Permissions

Atlassian University Live webinars provide you and your teams with the chance to strengthen your Atlassian product skills, and learn directly from Atlassian experts. Our next webinar is titled Conq...

208 views 4 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you