sduser1
asked on
Git -remove one file from local branch
I have list of files on my local branch. I see one extra file. I want to remove that file but not able to remove it
I have 4 files.
Test1.js
Test2.js
Test3.js
Test4.js
when I submit the review in rbt commons, I see Test1.js.
Tried to remove the file in GitHub ui interface, it does not let me remove
Used the below to checkout the file from master
Git checkout master Test1.js
i still see the file as one of the changed file in my local repo.
Need help removing it
I have 4 files.
Test1.js
Test2.js
Test3.js
Test4.js
when I submit the review in rbt commons, I see Test1.js.
Tried to remove the file in GitHub ui interface, it does not let me remove
Used the below to checkout the file from master
Git checkout master Test1.js
i still see the file as one of the changed file in my local repo.
Need help removing it
ASKER
How do i commit a deleted file so it does not show up in the list?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Is there a way not to show the deleted file?