Is it possible to 'git pull' only the next commit?

I understand git pull will update the working branch to the tip of a remote branch that it tracks. So let’s say if I do git pull, it will pull in all the latest changes. In my case, it will pull in 5 changes on top of my tree.

Is there a way to git pull only the next change? i.e., if git pull would put change 03, 04, 05, 06 and 07 on top of my tree, how do I pull only change 03? At the time of this command I do not know the commit ID of the next change it would pull in.

  • View already-committed Git merge in external 3-way diff tool
  • How secure is my application source code on heroku?
  • How to deal with multiple remotes and branches
  • Any problems with unhiding .git folder in msysgit?
  • fatal: This operation must be run in a work tree
  • Git: how to analyze code that has a multi-file history?
  • The tip of my tree is completely unaltered and will not have any merge conflicts and such.

  • Git hook commit-msg git add file
  • Finding the SHA1's of all objects in a commit git
  • How do I get git-blame and log to ignore line wrap changes?
  • Control-C kills Ipython in git bash on Windows 7
  • Git sparse-checkout on a remote with a post-receive script
  • Bitbucket REST interface and GIT; how to get a log history between two tags from a branch
  • One Solution collect form web for “Is it possible to 'git pull' only the next commit?”

    Perhaps something like this?

    git fetch
    git merge <commit to merge>

    To find the ID of the commit you want to merge, look it up in gitk after running the fetch.

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