From 2029707c4e3e6ed758c26a70fc621a75e1e06c74 Mon Sep 17 00:00:00 2001 From: Jacob Marks Date: Sat, 8 Oct 2022 11:41:50 +1000 Subject: [PATCH] Fix `git update-index` command --- .../creating-actions/creating-a-docker-container-action.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/actions/creating-actions/creating-a-docker-container-action.md b/content/actions/creating-actions/creating-a-docker-container-action.md index 483e056160..9e940b54dc 100644 --- a/content/actions/creating-actions/creating-a-docker-container-action.md +++ b/content/actions/creating-actions/creating-a-docker-container-action.md @@ -124,7 +124,7 @@ Next, the script gets the current time and sets it as an output variable that ac 1. Make your `entrypoint.sh` file executable. Git provides a way to explicitly change the permission mode of a file so that it doesn’t get reset every time there is a clone/fork. ```shell{:copy} - $ git update-index —chmod=+x entrypoint.sh + $ git update-index --chmod=+x entrypoint.sh ``` 1. Optionally, to check the permission mode of the file in the git index, run the following command.