Template:Git version control
Install package(s) git auditd
following these instructions
1 Platform specific notice.
- Kicksecure: No special notice.
- Kicksecure-Qubes: In Template.
2 Update the package lists and upgrade the system.
sudo apt update && sudo apt full-upgrade
3 Install the git auditd
package(s).
Using apt
command line --no-install-recommends
option is in most cases optional.
sudo apt install --no-install-recommends git auditd
4 Platform specific notice.
- Kicksecure: No special notice.
- Kicksecure-Qubes: Shut down Template and restart App Qubes based on it as per Qubes Template Modification
.
5 Done.
The procedure of installing package(s) git auditd
is complete.
Change directory to folder {{{folder}}}
.
cd {{{folder}}}
Initialize git in that folder.
{{{sudo_maybe}}} git init
Git needs an e-mail address. That e-mail address doesn't need to actually exist. That e-mail address would appear in git commit change logs if that git repository was ever pushed to any remote. If only used locally, the default you@example.com
could be kept. Otherwise, the user may change you@example.com
to any e-mail address of their choice.
{{{sudo_maybe}}} git config user.email "you@example.com"
Git needs an name. That name address doesn't need to actually exist. That name would appear in git commit change logs if that git repository was ever pushed to any remote. If only used locally, the default Your Name
could be kept. Otherwise, the user may change Your Name
to any name of their choice.
{{{sudo_maybe}}} git config user.name "Your Name"
Add all files in that folder to git.
{{{sudo_maybe}}} git add -A
Commit all files to git. [1]
{{{sudo_maybe}}} git commit -a -m .
- ↑
Commits all files to git with commit message
.
for simplicity. Commit message could also be something else such as{{{sudo_maybe}}} git commit -a -m "initial commit"
.