title: SCM Sync configuration plugin - Jenkins GIT prompt issue
body: <p>Jenkins version: <strong>1.642.3</strong></p>
  
  <p><a href="https://wiki.jenkins.io/display/JENKINS/SCM+Sync+configuration+plugin" rel="nofollow noreferrer">SCM Sync Configuration Plugin</a> version: <strong>0.0.10</strong></p>
  
  <p>I created a private repository for storing Jenkins job's configuration (which is the git url that I'll use in Jenkins's Global configuration page while configuring this plugin). As I created a private repo (which is not open to anyone), I had to add any collaborators (<code>jenkins</code> service user which is running Jenkins master process on the Jenkins master server). If in your case, it's different, look for <a href="https://stackoverflow.com/questions/39126430/scm-sync-configuration-plugin-doesnt-commit-push">user name</a> <code>user.name</code> under <code>Manage Jenkins &gt; System Information</code> for the user which is running Jenkins process otherwise, you'll get an error that OS user doesn't have access to the repository or permission denied (Public Key). One other solution is to generate <a href="https://help.github.com/articles/connecting-to-github-with-ssh/" rel="nofollow noreferrer">ssh key</a> (<code>ssh-keygen -t rsa</code> and once the Key files are generated, putting the .pub public key in your Github user's SSH settings section: <a href="https://git.instance.yourcomany.com/settings/ssh" rel="nofollow noreferrer">https://git.instance.yourcomany.com/settings/ssh</a>).</p>
  
  <p><strong>One Important Note:</strong> While configuring the logger, if you accidentally pick 
  <em>hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin</em> as it shows up in the list of available options (vs using the correct value which is <strong>hudson.plugins.scm_sync_configuration</strong>) then logger will NOT log anything.
  <a href="https://i.stack.imgur.com/2LLPe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2LLPe.png" alt="enter image description here"></a>
  The above setting will make this plugin not log anything in the logger, so make sure you set the logger to the correct value.</p>
  
  <p>AFTER this, everything is looking good so far in Jenkins main Global configuration page for configuring this plugin (no errors there) and at the right bottom of Jenkins home page, I can see "<strong>SCM Sync status :  Last operation @ Tue Jul 25 11:55:43 PDT 2017</strong>"</p>
  
  <p>I created a dummy job (and did <code>echo something &amp;&amp; sleep 60</code> in the build step) and tried to make few changes to this build step for changing the sleep time to some random values.</p>
  
  <p>My expection was I should have been prompted for making any changes to the Jenkins job and that Jenkins job should be checked-in in the given GIT repo (as now the pub key for jenkins user is all set). <strong>PS</strong>: I'm succesfully able to clone from this repo in another test jenkins job (running on <code>master</code> node) + I'm also able to successfully git clone + git push to this repo from Jenkins master server (just added README.md myself as jenkins user). In the logger's log, I can see:</p>
  
  <pre><code>Jul 25, 2017 11:53:37 AM FINE hudson.plugins.scm_sync_configuration.SCMManipulator checkinFiles
  Checking in SCM files ...
  Jul 25, 2017 11:53:37 AM FINE hudson.plugins.scm_sync_configuration.SCMManipulator checkinFiles
  Checked in SCM files !
  Jul 25, 2017 11:53:37 AM FINEST hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness processCommitsQueue
  Commit Commit hudson.plugins.scm_sync_configuration.model.Commit@5d951ea : 
    Author : asangal
    Comment : asangal: Jenkins configuration files updated
  
  Change performed by asangal
  
    Changeset : 
      A hudson.scm.SubversionSCM.xml
      A hudson.plugins.ansicolor.AnsiColorBuildWrapper.xml
      A hudson.plugins.git.GitTool.xml
      A hudson.scm.CVSSCM.xml
      A hudson.tasks.Mailer.xml
      A hudson.plugins.gradle.Gradle.xml
      A hudson.tasks.Ant.xml
      A hudson.plugins.git.GitSCM.xml
      A hudson.plugins.groovy.Groovy.xml
      A jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml
      A hudson.triggers.SCMTrigger.xml
      A hudson.maven.MavenModuleSet.xml
      A jenkins.mvn.GlobalMavenConfig.xml
      A jenkins.model.ArtifactManagerConfiguration.xml
      A hudson.tasks.Shell.xml
      A scm-sync-configuration.xml
      A hudson.plugins.copyartifact.TriggeredBuildSelector.xml
      A config.xml
      A hudson.tasks.Maven.xml
      A jenkins.metrics.api.MetricsAccessKey.xml
      A hudson.plugins.timestamper.TimestamperConfig.xml
      A jenkins.model.JenkinsLocationConfiguration.xml
      A hudson.plugins.build_timeout.operations.BuildStepOperation.xml
      A hudson.plugins.mercurial.MercurialInstallation.xml
      A hudson.plugins.emailext.ExtendedEmailPublisher.xml
      A hudson.plugins.throttleconcurrents.ThrottleJobProperty.xml
  
   pushed to SCM !
  Jul 25, 2017 12:49:48 PM FINEST hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness queueChangeSet
  Queuing commit Commit hudson.plugins.scm_sync_configuration.model.Commit@5511458b : 
    Author : asangal
    Comment : asangal: Job [dummy_job] configuration updated
  
  Change performed by asangal
  
    Changeset : 
      A jobs/dummy_job/config.xml
  
   to SCM ...
  Jul 25, 2017 12:49:48 PM FINEST hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness processCommitsQueue
  Processing commit : Commit hudson.plugins.scm_sync_configuration.model.Commit@5511458b : 
    Author : asangal
    Comment : asangal: Job [dummy_job] configuration updated
  
  Change performed by asangal
  
    Changeset : 
      A jobs/dummy_job/config.xml
  
  
  Jul 25, 2017 12:49:48 PM FINE hudson.plugins.scm_sync_configuration.SCMManipulator checkinFiles
  Checking in SCM files ...
  Jul 25, 2017 12:49:48 PM FINE hudson.plugins.scm_sync_configuration.SCMManipulator checkinFiles
  Checked in SCM files !
  Jul 25, 2017 12:49:48 PM FINEST hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness processCommitsQueue
  Commit Commit hudson.plugins.scm_sync_configuration.model.Commit@5511458b : 
    Author : asangal
    Comment : asangal: Job [dummy_job] configuration updated
  
  Change performed by asangal
  
    Changeset : 
      A jobs/dummy_job/config.xml
  
   pushed to SCM !
  </code></pre>
  
  <p><strong>Questions:</strong></p>
  
  <p>1) Why I didn't get prompted when I made changes to Jenkins job?</p>
  
  <p>2) Why I'm not seeing any commits (which the logger is showing successfully checked-in / pushed, in the log) to the my target git repo? My github repo just shows README.md file so far.</p>
  
  <p>3) Where exactly did this plugin CHECKED-IN the files and pushed?</p>