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.....
On October 21st, 2020 we hosted a webinar titled, Step Up You DevOps Game with 4 Key Integrations for Jira and Bitbucket. We had a great showing and high engagement, but that meant th...
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