简体   繁体   中英

How to delete files or folder on AWS CodeCommit?

I have created a repository using AWS CodeCommit. I wanted to know how to delete a particular file or folder in it.

I have created a called testrepo. It has two folders and a file containing the php code in the source directory with the appspec.yml. I was wondering if I could delete the php code file from the source folder in the repository. I have gone through the tutorial/documentation available on AWS site, but I wasn't able to find how to delete a file once it has been upload to the code commit repository.

Welcome to StackOverflow!

CodeCommit is just git behind the scenes. You can follow the tutorial from the docs to gain access and clone the repo locally.

Once done, you can proceed as if you are working with Github, BitBucket or whatever else repo.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM