Skip to content

Commit b897fa3

Browse files
committed
Fix git instructions in appendix
1 parent 0cd9a56 commit b897fa3

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

content/modules/ROOT/pages/appendix-vscode-commit-push.adoc

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,21 +63,27 @@ git clone {gitea_console_url}/{gitea_user}/virt-aap-day2
6363
cd /path/to/virt-app-day2
6464
----
6565
+
66-
. **Make changes to file**:
66+
. **Make changes to file and save it**:
6767
+
6868
----
6969
vi /path/to/tasks/main.yml
7070
----
7171
+
72-
. Make changes to your file and save them
73-
+
7472
. **Stage Your Changes**:
7573
** Run the following command to stage all modified files:
7674
+
7775
----
7876
git add -u
7977
----
8078
+
79+
. **Set your Git identity**:
80+
** Run the following command only once:
81+
+
82+
----
83+
git config --global user.email "[email protected]"
84+
git config --global user.name "User1"
85+
----
86+
+
8187
. **Commit Your Changes**:
8288
** Commit the staged files with a descriptive message:
8389
+
@@ -86,14 +92,15 @@ git commit -m "Add changes to main.yml"
8692
----
8793
+
8894
. **Push Your Changes**:
89-
** Push the committed changes to the remote repository:
95+
** Push the committed changes to the remote repository
96+
** You will be asked for user **{gitea_user}** and password **{gitea_password}**.
9097
+
9198
----
9299
git push
93100
----
94101
+
95102
. **Verify in Gitea**:
96-
** Open your Gitea repository {{gitea_console_url}} in a web browser and confirm that the changes appear.
103+
** Open your Gitea repository {gitea_console_url} in a web browser and confirm that the changes appear.
97104

98105
////
99106

0 commit comments

Comments
 (0)