The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why Sourcetree show these files as changes for commit? need Create gitignore file

Janaka Neranjan
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!
September 8, 2023

Why Sourcetree show these files as changes for commit?
I did not change any thing on these fules.

I want create gitignore file for this

Capture.PNGCapture3.PNGCapture2.PNGCapture.PNG

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Martin Runge
Community Champion
July 28, 2026

Hi @Janaka Neranjan

Let's begin by checking if those files are already being tracked in your git repository. If they are, and you'd like to stop tracking them, remember that gitignore alone won't do the trick since it only prevents untracked files from being added. You'll need to remove them from git first.

The other common cause I see is line ending differences. If you're on Windows and your files show as changed but nothing actually looks different, it's likely CRLF vs LF line endings. You can check this in Sourcetree > Preferences > Git and look for core.autocrlf settings.

Cheers, Martin

TAGS
AUG Leaders

Atlassian Community Events