In VSTS I have pulled the master, branched, made a change, staged the change, and clicked Commit and nothing happens.
I tried using a repo in GitHub. I pulled the master, made a change, staged the change and clicked Commit... and nothing happens.
What do I have to do to commit a staged file?
Ok, that's very helpful. TL;DR - Looks like a bug.
Firstly, committing NEVER needs credentials. Commit is a local operation - it does not interact with remote repositories. Now, you're using SourceTree, which has a checkbox to automatically Push, which is a remote-interacting operation, so you may get both grouped together (you don't have that box checked though).
When you say you're pushing the commit button, I assume at this point that you are hitting the bottom-right button to try to actually finalize the commit (as opposed to the top-left button, which brings you to the view in the screenshot). Everything in the screenshot looks right and ready to commit. If the Commit, Commit Options.., and Recent Comment (clock) buttons aren't responding, that's got to be a bug. Nothing about the state of your repo should be preventing SourceTree from doing those operations.
You can report the bug to jira.atlassian.com. Hopefully Atlassian staff will be on top of it, and help you find the application logs they need to identify what's going on.
I'm only hosting the Git repo in VSTS. All the actions have been done in SourceTree.
I get the feeling it's asking/waiting for credentials but I can't see any way to get credentials to the app. I tried adding my credentials to the git config but that doesn't change anything.
The "Commit Options..." dropdown and the clock button do the same thing - Just don't respond.
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