title: How to sync local repo to TFS Git via Visual Studio when push is disabled
body: <p>I have some outstanding outgoing commits in Visual Studio using Visual Studio Online with Git. I want to push my local repository to my TFS account. </p>
  
  <p>My problem is that the Push option is disabled.  </p>
  
  <p>I tried simply adding some comments to create a change and then locally committing that. That would be BaseLine Resend in the image below. I <strong>NO</strong> had problems with locally committing but the Push option enabled state did not change i.e. it's still disabled.  </p>
  
  <p>I would like to know how to recover from this state and it's happened several times before and the only solution seems to be to wipe the repository and start over which is obviously completely unsatisfactory.</p>
  
  <p><img src="https://i.stack.imgur.com/Blki8.png" alt="enter image description here"></p>
  
  <p><strong>Update: Git Config</strong></p>
  
  <pre><code>[core]  bare = false    repositoryformatversion = 0     filemode = false    logallrefupdates = true     symlinks = false    ignorecase = true [diff]    tool = vsdiffmerge [difftool]   prompt = true [difftool "vsdiffmerge"]  cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio
  12.0\\Common7\\IDE\\vsdiffmerge.exe\" \"$LOCAL\" \"$REMOTE\" //t    keepbackup = false  trustexistcode = true [merge]   tool = vsdiffmerge [mergetool]  prompt = true [mergetool "vsdiffmerge"]     cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio
  12.0\\Common7\\IDE\\vsdiffmerge.exe\" \"$REMOTE\" \"$LOCAL\" \"$BASE\" \"$MERGED\" //m  keepbackup = false  trustexistcode = true [remote "origin"]     url = https://abc.visualstudio.com/DefaultCollection/Abc%20Enterprise/_git/Abc.Enterprise.Tasking   fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"]   remote
  = origin    merge = refs/heads/master
  </code></pre>