git: checkout files from another branch into current branch (don't switch HEAD to the other branch) -


I want to load a different version of files in the other branch that is in my current branch.

git help checkout says:

  Update files in the tree working to match the description index or the specific tree version If no path is given, then GIT will update Head to set the branch specified in the checkout current branch.   

Is there any way to checkout those files, but not update HEAD?

.

This operation is similar, but only from "other direction" Like

like @ ¹¹ ?? Ë ¯ ¼ ì ¤ ?? Is mentioned, it overwrites any unclassified change if necessary, hide them from them or remember them beforehand

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -