You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skyler Rojas edited this page Dec 8, 2013
·
2 revisions
# Use Case:
If you want to merge specific files to master but do not want to merge an entire branch with master, then do the following:
# switch your branch to master
git checkout master
# copy the files from your branch into master
git checkout <branch_name> path/to/file1 path/to/file2 ...
# commit changes to master
git commit -m "merging files from <branch_name>"
git push