Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Latest commit

 

History

History
78 lines (48 loc) · 4.27 KB

README.md

File metadata and controls

78 lines (48 loc) · 4.27 KB

Welcome to the Remove Commit History exercise!

This exercise checks your knowledge on removing a commit from the git history of a repository. It is automatically graded via a workflow once you have completed the instructions.

About this exercise

⚠️ A grading script exists under .github/workflows/grading.yml. You do not need to use this workflow for any purpose and altering its contents will affect the repository's ability to assess your exercise and give feedback.

⚠️ This exercise utilizes GitHub Actions, which is free for public repositories and self-hosted runners, but may incur charges on private repositories. See About billing for GitHub Actions to learn more.

ℹ️ The use of GitHub Actions also means that it may take the grading workflow a few seconds and sometimes minutes to run.

Instructions

Please complete the instructions below:

  1. Create your own copy of this repository by using the Use this template button.
  2. Remove all references to the .env file which contains sensitive data from the repository.

You do not need to contact GitHub Support to remove cached commits and complete this exercise.

Seeing your result

Your exercise is graded automatically once you have completed the instructions. To see the result of your exercise, go to the Actions tab, and see the most recent run on the Grading workflow.

Below is an example of an incorrect solution and the feedback provided in the Grading results:

Screen Shot 2021-06-10 at 12 44 21 PM

See Viewing workflow run history if you need assistance.

Troubleshooting

If you are stuck with a step in the exercise or the grading workflow does not automatically run after you complete the instructions, run the troubleshooter: in the Actions tab select the Grading workflow, click Run workflow, select the appropriate branch, and click the Run workflow button.

Screen Shot 2021-06-10 at 12 59 28 PM

The troubleshooter will either display useful information to help you understand what you might have done wrong in your exercise or redirect you to the documentation relevant to your exercise to help you out.

See Running a workflow on GitHub if you need assistance.

Useful resources

Use these to help you!

Resources specific to this exercise:

Resources for working with exercises and GitHub Actions in general: