Changes requested by lhinderberger
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.8 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 6 KiB After Width: | Height: | Size: 6 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
|
@ -14,7 +14,7 @@ Here we provide step-by-step instructions to install it.
|
|||
**Disclaimer**: we try to keep these instructions up-to-date, but you might need to adjust them to your machine/OS.
|
||||
|
||||
## Windows 10
|
||||
There are several possiblities to install Git on Windows. An easy one is to use Git’s install wizard, shown here.
|
||||
There are several possibilities to install Git on Windows. An easy one is to use Git’s install wizard, shown here.
|
||||
|
||||
### Admin or user?
|
||||
For some Git clients (see [below](#git-clients)), e.g. [RStudio](https://rstudio.com/), it is recommended to install Git as administrator on your machine. It is also possible to install as regular user, but you might have to manually specify the path to the Git executable in the settings of your Git client.
|
||||
|
|
@ -24,8 +24,8 @@ If you want to install as regular user, just log in with your user account and r
|
|||
To install with administrator rights, either log in as administrator, or run the installer as administrator. In the latter case, right-click on the installer, select `Run as administrator` and enter your credentials:
|
||||
|
||||
<picture>
|
||||
<source srcset="/assets/images/getting-started/install-git/Win_run-as-admin.webp" type="image/webp">
|
||||
<img src="/assets/images/getting-started/install-git/Win_run-as-admin.PNG" alt="win-run-admin">
|
||||
<source srcset="/assets/images/getting-started/install-git/win-run-as-admin.webp" type="image/webp">
|
||||
<img src="/assets/images/getting-started/install-git/win-run-as-admin.png" alt="win-run-admin">
|
||||
</picture>
|
||||
|
||||
|
||||
|
|
@ -33,24 +33,28 @@ From there, follow the steps in the setup wizard. It is okay to just accept the
|
|||
There are two steps for which you have to pay attention:
|
||||
|
||||
1. Choose your editor:
|
||||
By default, [Vim](https://www.vim.org/) will be used for Git. But if you prefer to use another one, select it here.
|
||||
By default, [Vim](https://www.vim.org/) will be used for Git. But if you prefer to use another one, select it here.
|
||||
|
||||
<picture>
|
||||
<source srcset="/assets/images/getting-started/install-git/Win_editor.webp" type="image/webp">
|
||||
<img src="/assets/images/getting-started/install-git/Win_editor.PNG" alt="win-editor">
|
||||
<source srcset="/assets/images/getting-started/install-git/win-editor.webp" type="image/webp">
|
||||
<img src="/assets/images/getting-started/install-git/win-editor.png" alt="win-editor">
|
||||
</picture>
|
||||
|
||||
2. PATH environment:
|
||||
|
||||
<picture>
|
||||
<source srcset="/assets/images/getting-started/install-git/Win_PATH.webp" type="image/webp">
|
||||
<img src="/assets/images/getting-started/install-git/Win_PATH.PNG" alt="win-path">
|
||||
<source srcset="/assets/images/getting-started/install-git/win-path.webp" type="image/webp">
|
||||
<img src="/assets/images/getting-started/install-git/win-path.png" alt="win-path">
|
||||
</picture>
|
||||
|
||||
This makes sure that Git can be used by 3rd party software (Git clients). It is recommended (and the default) anyway.
|
||||
|
||||
> You may get the error message displayed below, that the release notes cannot be displayed. That error message can be safely ignored. You can find the release notes in `Start Menu > Git > Git Release Notes`.
|
||||
<picture>
|
||||
<source srcset="/assets/images/getting-started/install-git/Win_error-notes.webp" type="image/webp">
|
||||
<img src="/assets/images/getting-started/install-git/Win_error-notes.PNG" alt="win-error">
|
||||
</picture>
|
||||
>
|
||||
> <picture>
|
||||
> <source srcset="/assets/images/getting-started/install-git/win-error-notes.webp" type="image/webp">
|
||||
> <img src="/assets/images/getting-started/install-git/win-error-notes.PNG" alt="win-error">
|
||||
> </picture>
|
||||
|
||||
|
||||
### Run
|
||||
|
|
@ -62,8 +66,8 @@ Git can be used through the `Command Prompt` (the traditional Windows command li
|
|||
You now managed to get Git up and running. The first thing you must do, before you can use your fresh installation of Git, is to tell Git your name and email address. You only have to do this once. This is easily done with `Git Bash`:
|
||||
|
||||
```bash
|
||||
git config --global user.name 'PolarBear'
|
||||
git config --global user.email 'polarbear@example.com'
|
||||
git config --global user.name 'knut'
|
||||
git config --global user.email 'knut@polarbear.com'
|
||||
git config --global --list
|
||||
```
|
||||
The username can be anything, but it is important that the email is the same as the one you use on Codeberg.
|
||||
|
|
|
|||