Say I have two branches - master and redesign. How would I go about overwriting the file default.aspx.cs in my redesign branch with the o
master
redesign
default.aspx.cs
git checkout master path/to/default.aspx.cs
Before doing this, you probably have to : git checkout redesign
git checkout redesign
So, just git checkout FROM_BRANCH_NAME path/to/file
git checkout FROM_BRANCH_NAME path/to/file