Answers for "checkout remote file different name"

3

checkout remote file different name

# Checkout File from previous Commit
git show HEAD^:./your-file > a-different-name-for-your-file
git show a-previous-commit-sha^:./your-file > a-different-name-for-your-file

git show remotes/origin/master^:./your-file > a-different-name-for-your-file
git show remotes/origin/a-branch-name^:./your-file > a-different-name-for-your-file
Posted by: Guest on September-25-2021
0

checkout remote file different name

git show HEAD^:./SimpleDMMTest.vi > SimpleDMMTest.local.vi
git show origin^:./SimpleDMMTest.vi > SimpleDMMTest.remote.vi
Posted by: Guest on October-30-2021

Code answers related to "checkout remote file different name"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language