Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Case1: You are on dev branch. You change some files, add a few files. However you only want to merge changed files to master.
- git commit //On your dev branch
- git checkout master
- git checkout dev file1 file2 file3 ...
- git commit
- This will only merge the files you wanted
Add Comment
Please, Sign In to add comment