I have a question about GIT.
Suppose I have a project on MASTER branch with 100s of php files. To do a bug fixing in the project, i create a separate branch
Then after fixing the bug in 3 files (for eg index.php, register.php and login.php), i merge it in the master branch
>git checkout -b bugfix
The above code will merge all the 3 files i made changes, but is there anyway that i can force GIT to merge only 2 files, say login.php and register.php only?
>git checkout master
>git merge bugfix