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.
Hello from my sixty-eighth city in a long-term RV trip I started in 2015! I've traveled all over the US staying in different cities and states for just a few days up to many months. This week I...
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