git pull without commit code example
Example 1: git pull from commit
git merge <commit_id>
Example 2: how to pull the changes from git without staging local changes
git stash save
git pull
git stash pop
git merge <commit_id>
git stash save
git pull
git stash pop