Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,230
Community Members
 
Community Events
165
Community Groups

Prevent whitespace changes to repo

Is there a way to ignore whitespace changes in sourcetree? I don't mean in the diff view but in the actual unstaged files, so we don't commit those into the repo. For some reason these show up when there have been no whitespace changes made. Could be from opening the project in a different OS like Mac (but reopening it in windows shows no changes).

1 answer

@mythicalcity 

Late to the party, but you can try to Stage All and then Unstage All files. Once done, all the whitespace changes should be removed from Unstaged files.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

62,258 views 127 27
Read article

Community Events

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

Events near you