I have push the commited files to the remote server host.But the files is that I need to delete.How can I delete the files from remote server.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
two ways can do it.
ONE:
in your local directory operation.
git rm FILENAMEgit commit -m "WRITE SOMETHING"git push origin master#or your using branchTWO:
in your local directory type flow:
git remote rm FILENAMEgit commite -m "WRITE SOMETHING"git push origin master#or your using branch