You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.