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,298,653
Community Members
 
Community Events
165
Community Groups

Changes not seen

Edited

When I go to back up work in SourceTree, I keep getting 'Nothing to commit', and thus can not back up my work. I have backed up this project before, so at point it could see changes as expected. I don't believe anything is different now.

EDIT: For clarity, I Know that I have made changes. 

1 answer

0 votes
Mikael Sandberg Community Leader Feb 28, 2020

Hi @EngiJbell,

Welcome to Atlassian Community.

Have you made any changes to your repository? If you get "Nothing to commit" it is an indication that you have not made any changes to the repository since the last time you made a commit. 

But I know that I have. 

Mikael Sandberg Community Leader Mar 04, 2020

Are you using gitignore?

Yes. However, I am certain I have made lots of changes outside of the .gitignore scope. 

Mikael Sandberg Community Leader Mar 05, 2020

Git should report any changes you made if you run git status. If it does not show any changes, it will not push anything to the remote repository. You can test that by just adding a new file to the repository and then run git status

I tried that. Made changes just for the sake of making changes... no changes detected. 

Mikael Sandberg Community Leader Mar 11, 2020

Okay, so if Git is not detecting any changes it sounds like something is up with your repository. Do you see the .git directory on the root level of your repository? Are you making changes in a directory that is being ignored by your gitignore file?

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,053 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