Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/university/training/topics/git_add.md')
-rw-r--r--doc/university/training/topics/git_add.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/university/training/topics/git_add.md b/doc/university/training/topics/git_add.md
index 0c9a50bb5e1..a3389af526d 100644
--- a/doc/university/training/topics/git_add.md
+++ b/doc/university/training/topics/git_add.md
@@ -8,30 +8,30 @@ Adds content to the index or staging area.
- Adds a list of file:
- ```bash
+ ```shell
git add <files>
```
- Adds all files including deleted ones:
- ```bash
+ ```shell
git add -A
```
- Add all text files in current dir:
- ```bash
+ ```shell
git add *.txt
```
- Add all text file in the project:
- ```bash
+ ```shell
git add "*.txt*"
```
- Adds all files in directory:
- ```bash
+ ```shell
git add views/layouts/
```