-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prepare-for-packaging.md: Add git identy setup
Noticed this step was missing while making the video
- Loading branch information
1 parent
96b474c
commit b26538b
Showing
1 changed file
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ We need to install a few things in order to get started with packaging: | |
sudo eopkg it go-task git github-cli jq solbuild solbuild-config-unstable ypkg | ||
``` | ||
|
||
## Setting up a GitHub account | ||
## Setting up a GitHub account and Git | ||
|
||
The Solus source repositories for the package repository currently reside on [github.com/getsolus/packages](https://github.com/getsolus/packages). You will need a GitHub account to submit patches and file issues. You can create a GitHub account [here](https://github.com/signup). Note that you will also need to set up [2FA](https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa) (two factor authentication) for your account. | ||
|
||
|
@@ -54,6 +54,18 @@ Once you have a GitHub account, you need to configure `github-cli` to work with | |
|
||
See the [GitHub CLI quickstart](https://docs.github.com/en/github-cli/github-cli/quickstart) for some common uses of the tool. | ||
|
||
### Git identity setup | ||
|
||
If you have not used git before, you should set your git identiy in your global git config file (`~/.gitconfig). Use the following commands: | ||
|
||
```bash | ||
git config --global user.name "John Doe" | ||
git config --global user.email [email protected] | ||
``` | ||
|
||
See the [Git Book](https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup) for more first-time setup options. | ||
|
||
|
||
## Setting up solbuild | ||
|
||
The `solbuild` tool must first be initialized with a base image. All builds thereafter will use this as a base, and construct a temporary overlay root to save on time and disk space in builds. | ||
|