generated from juliaaano/showroom-content
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,21 +63,27 @@ git clone {gitea_console_url}/{gitea_user}/virt-aap-day2 | |
cd /path/to/virt-app-day2 | ||
---- | ||
+ | ||
. **Make changes to file**: | ||
. **Make changes to file and save it**: | ||
+ | ||
---- | ||
vi /path/to/tasks/main.yml | ||
---- | ||
+ | ||
. Make changes to your file and save them | ||
+ | ||
. **Stage Your Changes**: | ||
** Run the following command to stage all modified files: | ||
+ | ||
---- | ||
git add -u | ||
---- | ||
+ | ||
. **Set your Git identity**: | ||
** Run the following command only once: | ||
+ | ||
---- | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "User1" | ||
---- | ||
+ | ||
. **Commit Your Changes**: | ||
** Commit the staged files with a descriptive message: | ||
+ | ||
|
@@ -86,14 +92,15 @@ git commit -m "Add changes to main.yml" | |
---- | ||
+ | ||
. **Push Your Changes**: | ||
** Push the committed changes to the remote repository: | ||
** Push the committed changes to the remote repository | ||
** You will be asked for user **{gitea_user}** and password **{gitea_password}**. | ||
+ | ||
---- | ||
git push | ||
---- | ||
+ | ||
. **Verify in Gitea**: | ||
** Open your Gitea repository {{gitea_console_url}} in a web browser and confirm that the changes appear. | ||
** Open your Gitea repository {gitea_console_url} in a web browser and confirm that the changes appear. | ||
|
||
//// | ||
|