- Notifications
You must be signed in to change notification settings - Fork9
A hands-on exercise using GitHub Actions. See README.md for instructions on how to get started.
License
githubtraining/exercise-remove-commit-history
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.
.github/workflows/grading.yml
. You do not need to use this workflow for any purpose andaltering its contents will affect the repository's ability to assess your exercise and give feedback.
ℹ️ The use of GitHub Actions also means that it may take the grading workflow a few seconds and sometimes minutes to run.
Please complete the instructions below:
- Create your own copy of this repository by using theUse this template button.
- 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.
Your exercise is graded automatically once you have completed the instructions. To see the result of your exercise, go to theActions tab, and see the most recent run on theGrading workflow.
Below is an example of an incorrect solution and the feedback provided in theGrading results:
SeeViewing workflow run history if you need assistance.
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 theActions tab select theGrading workflow, clickRun workflow, select the appropriate branch, and click theRun workflow button.
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.
SeeRunning a workflow on GitHub if you need assistance.
Use these to help you!
Resources specific to this exercise:
- Removing sensitive data from a repository - GitHub Docs
- BFG repo cleaner - Tool homepage
- git filter-repo - Tool repository
Resources for working with exercises and GitHub Actions in general:
About
A hands-on exercise using GitHub Actions. See README.md for instructions on how to get started.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.