I\'m using Git on a new project that has two parallel -- but currently experimental -- development branches:
master
I found this post to contain the simplest answer. Merely do:
git checkout
Pulling .gitignore file from branchB into current branch:
git checkout branchB .gitignore
See the post for more information.