Skip to content

Commit ec585bf

Browse files
authored
Update content/actions/creating-actions/creating-a-docker-container-action.md
1 parent e3f9d2c commit ec585bf

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

content/actions/creating-actions/creating-a-docker-container-action.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,8 @@ Next, the script gets the current time and sets it as an output variable that ac
123123

124124
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.
125125

126-
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.
127-
<br>The command works as below.
128-
129126
```shell{:copy}
130-
$ git update-index --chmod=+x entrypoint.sh
131-
```
132-
133-
The permission mode of the file in the git index can be checked by running following command.
127+
$ git update-index —chmod=+x entrypoint.sh
134128
135129
```shell{:copy}
136130
$ git ls-files --stage entrypoint.sh

0 commit comments

Comments
 (0)