| ... | ... | @@ -22,7 +22,7 @@ On your own **Linux** PC, you can install git with the package manager. For exam |
|
|
|
sudo apt install git
|
|
|
|
```
|
|
|
|
|
|
|
|
Git will open a text editor when running certain commands such as `git merge` or `git commit`. The default editor is [vim](https://www.vim.org/) which is rather difficult to use. If you don't plan to use vim, set the environment variable `EDITOR` to the name of your preferred editor by adding the following line at the end of your `\~/.bashrc` file:
|
|
|
|
Git will open a text editor when running certain commands such as `git merge` or `git commit`. The default editor is [vim](https://www.vim.org/) which is rather difficult to use. If you don't plan to use vim, set the environment variable `EDITOR` to the name of your preferred editor by adding the following line at the end of your `~/.bashrc` file:
|
|
|
|
|
|
|
|
```
|
|
|
|
export EDITOR=XXXX
|
| ... | ... | |
| ... | ... | |