add steps to git basic doc
This commit is contained in:
parent
1b7ef27167
commit
9ad10d3817
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue