git fetch
git --track branchName origin/branchName
git checkout branchB
git merge branchA
/* | |
Pre-requisite: npm --save archiver | |
Suppose the folder `/Users/x/baseFolder` has the following structure: | |
/Users/x/baseFolder | |
| __ dir1 | |
| __ file1.txt | |
| __ file2.txt | |
| __ dir2 | |
| __ file3.txt |