File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
content/modules/ROOT/pages Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -63,21 +63,27 @@ git clone {gitea_console_url}/{gitea_user}/virt-aap-day2
63
63
cd /path/to/virt-app-day2
64
64
----
65
65
+
66
- . **Make changes to file**:
66
+ . **Make changes to file and save it **:
67
67
+
68
68
----
69
69
vi /path/to/tasks/main.yml
70
70
----
71
71
+
72
- . Make changes to your file and save them
73
- +
74
72
. **Stage Your Changes**:
75
73
** Run the following command to stage all modified files:
76
74
+
77
75
----
78
76
git add -u
79
77
----
80
78
+
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
+ +
81
87
. **Commit Your Changes**:
82
88
** Commit the staged files with a descriptive message:
83
89
+
@@ -86,14 +92,15 @@ git commit -m "Add changes to main.yml"
86
92
----
87
93
+
88
94
. **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}**.
90
97
+
91
98
----
92
99
git push
93
100
----
94
101
+
95
102
. **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.
97
104
98
105
////
99
106
You can’t perform that action at this time.
0 commit comments