I am new to Git, I created a repository and in it I made 2 branches, one master and another test, the master branch contains the following:
File1.php
File2.php
And the test branch contains the following:
File3.php
File4.php
If I do a pull from the test branch, it downloads the branch corresponding files, but I want remove them once I don't need the branch in the local repository. Is there a way to remove the files just choosing the branch to remove and not removing them one by one?
Example of what I want: git branch -d test --remove-files
so Git deletes the branch and the files that belong to that branch.