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

Prevent whitespace changes to repo

mythicalcity
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 22, 2020

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

0 votes
Paweł Gumiela
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 18, 2021

@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
AUG Leaders

Atlassian Community Events