add steps to git basic doc

This commit is contained in:
Anton Livaja 2025-02-04 00:15:22 -05:00
parent 1b7ef27167
commit 9ad10d3817
Signed by: anton
GPG Key ID: 44A86CFF1FDF0E85
1 changed files with 7 additions and 7 deletions

View File

@ -1,26 +1,26 @@
/* ANCHOR: all */
// ANCHOR: content
* Connect SD card to online machine
1. Connect SD card to online machine
* {{ #include finding-device-name.md:content }}
1. {{ #include finding-device-name.md:content }}
* Copy files into designated location in a repository:
1. Copy files into designated location in a repository:
* e.g `cp /dev/<your_device> ~/<repository_name>/<path_to_location>`
* Add all files to git stage:
1. Add all files to git stage:
* `git add .`
* Review what files are staged:
1. Review what files are staged:
* `git status`
* Create a signed commit:
1. Create a signed commit:
* `git commit -m -S "<message>"`
* Push the changes to the branch you are on:
1. Push the changes to the branch you are on:
* `git push origin HEAD`
// ANCHOR_END: content