Hello @Niket Chandrawanshi,
The short answer is no, Git generally isn't designed for that.
The long version is that you can configure Git to behave like you described in some cases but not in all of them. And what is more important in the context of this thread, you can't configure it in Bitbucket as it doesn't provide a way to tweak required Git configuration parameters.
Let me know if you have any questions.
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