Configuration management (lesson)
outline
This lesson is related to lesson:backup sdcard because that lesson too treats configuration management. In this lesson you will learn how to install and use git.
TBA
outline
- update apt
apt update
- install git
apt install git
- Now create a subdirectory
mkdir work
- change directory
cd work
- initialize the directory as a git repository
git init
- now execute
git status
- create a file within the directory
touch file
- now check on status
git status
- add the file to the staging
git add file
- inspect the status
git status
- now commit the file to the repository
git commit
🚩 You might be asked to verify who you are with some strange messages. Work out what to do to stop the message.
advanced
cloning from a remote repository
TBA clone some source code from an Open Source Repository so you can build an application.
remote repository
TBA
Connect your local repository with a remote repository supplied/setup by your instructor.