Last Updated: February 25, 2016
·
3.604K
· Andrew Stilliard

List / Read files in another git branch

Examples showing from one branch reading the develop branch

List files in a folder from another branch
git ls-tree -r --name-only develop helpers/

Read a file from another branch
git show develop:helpers/Encryption.php