Template:Git version control

From Kicksecure
Revision as of 13:15, 3 August 2022 by Patrick (talk | contribs) (Created page with "{{Install Package |package=git auditd }} Change directory to folder <code>{{{folder}}}</code>. {{CodeSelect|code= cd {{{folder}}} }} Initialize git in that folder. {{CodeSelect|code= {{{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 <code>you@example.com</code> c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Install package(s) git auditd following these instructions

1 Platform specific notice.

2 Update the package lists and upgrade the systemOnion network Logo.

Click = Copy Copied to clipboard! sudo apt update && sudo apt full-upgrade

3 Install the git auditd package(s).

Using apt command line --no-install-recommends optionOnion network Logo is in most cases optional.

Click = Copy Copied to clipboard! 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 ModificationOnion network Logo.

5 Done.

The procedure of installing package(s) git auditd is complete.

Change directory to folder {{{folder}}}.

Click = Copy Copied to clipboard! cd {{{folder}}}

Initialize git in that folder.

Click = Copy Copied to clipboard! {{{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.

Click = Copy Copied to clipboard! {{{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.

Click = Copy Copied to clipboard! {{{sudo_maybe}}} git config user.name "Your Name"

Add all files in that folder to git.

Click = Copy Copied to clipboard! {{{sudo_maybe}}} git add -A

Commit all files to git. [1]

Click = Copy Copied to clipboard! {{{sudo_maybe}}} git commit -a -m .

  1. 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".