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
Community Members
Community Events
Community Groups

How to track an ignored file and commit it as modified file?



I have had a filed marked as ignore in my gitignore as below.



Now when I make some changes and commit them against that file as given, it is showing up as entirely new file. So, the question is how I can push it as a modified file with only the changes I made as highlighted as it usually happens for other tracked files?

1 answer

1 accepted

0 votes
Answer accepted


  • exclude in gitignore
  • do changes 
  • do commit
  • and return back the gitignore file changes

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events