Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Why does Bitbucket ask me to commit after I clone a repository

If I close a repository, Sourcetree asks me to commit all the files back to the repository. I've made no changes, so why it is asking me to commit the files?

1 answer

Sourcetree is just a wrapper for Git. There is a good chance that your repository is missing (or not configured) ".gitignore" file. The most common occurrence that I see is IDE specific files and folders like [.vs, .code, .ideal] are not include in the ".gitignore". So if you just open the project to look at code, AND made no changes yourself, your IDE could still make changes to setting or config files in the repo. Therefore Git and Sourcetree will see a difference and will ask you to commit.


There are some complications like if the ".gitconfig" is updated then you will have to update the cached (tracked) files so that Git and stop tracking it. 


I would need more specifics to be able to help more.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events