How to commit files marked as unchanged ?

I have the following issue after having used another tool that did not push the modifications to the distant repository.

I cannot commit my work in a distant repostory. I do have a lot of files that are marked as unchanged in my local repo, but they are modified. The last version of my project  is in my local repository. There are also added/removed files in my local repository. I want to push all the modifications for the last month: how do I synchronize my local repository with the distant one ?

I would like to detect all changes in my local repository in order  to commit changes.

2 answers

Sounds like you are a git beginner (welcome!). I'm not sure if you are using some of the terms accurately. Could you post a screenshot of your SourceTree log view so we can get a better idea of the current state of your repo? Feel free to obscure commit messages, usernames, etc, but leave branch names if you can.

Yes in my cases indeed I am a GIT beginner. Well the problem seems to have disappeared. When I previously cloned the distant respository I did not see my changes. Now it seems all changes have been pushed to the distant repository.

I recommend reading through the Git book, it'll really help you understand what to expect from the different operations. https://git-scm.com/book

Focus on 1.1 - 1.3 and chapters 2 and 3.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

727 views 3 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you