new git user using netbeans support unable to pull latest commit from remote repository

I am a new GIT user, using the built in NetBeans support on win7. I have made some changes to my project files on a different computer, and committed them to the remote repo. When I try to pull this latest version from my remote repository, I am getting the following error:

 ==[IDE]== Nov 13, 2012 11:35:27 PM Pulling...
 git pull +refs/heads/master:refs/remotes/origin/master
 No update
 Merge Result: Failed
 Merge of HEAD with origin/master failed because of these files:

how can I pull the latest version to the second computer?

  • git difftool: how to measure progress, that is number of files diff'ed and to diff?
  • Rewriting Git history by untaring archives
  • git merge: is there a way to force --squash?
  • Jenkins delete jobs when branch deleted via branch-indexing
  • Is it possible to keep an unversioned file in a git repository
  • Want git post receive hook to make new commit and push
  • Thanks in advance,


  • How to prevent remote branch deletion in git without using gitolite
  • Merge (no branch) into master
  • Can Git show history for selected lines?
  • Will git-rm --cached delete another user's working tree files when they pull
  • Unable to Cherry Pick (FETCH), but able to Pull & Push in Gerrit Git
  • Docker Hub - Automatic build on tag with regex match not triggered
  • 2 Solutions collect form web for “new git user using netbeans support unable to pull latest commit from remote repository”

    I’m not 100% sure. But I’m pretty confident your trouble come from untracked file/changes in your working directory.

    First, checkout the status of your working directory git status. If there’s files listed, you need to add them (git add -A) and commit them (git commit) before you can pull. (On a side note, instead of commiting, you could stash them)

    Once this is done and that git status show no files, you can pull the remote repository.

    This behaviour prevent you from losing unsaved work during a merge process (as pull aliases a fetch following by a merge).

    I’ve faced the same problem. I’m guessing you’re running git in Netbeans.
    Please try to run the command in git shell.
    You’ll see the difference.

    Git Baby is a git and github fan, let's start git clone.