Components of Evergreen
Components of Evergreen
New Developers Working Group
The SSH key allows your machine to connect securely to a remote machine, which is required to push (upload) the code you modify to https://git.evergreen-ils.org where all Evergreen code is stored.
Git is the software version control system that Evergreen (and many other open source software programs) uses. Git Bash is the Windows program we use on our own computer to track and package changes and interact with the main Evergreen repository. It provides a command-line interface (CLI) - there is also a Windows GUI version, but it doesn't have all of the capabilities of the CLI.
git config --global user.name "FirstName LastName" git config --global user.email "email@example.com"
Navigating Within Git Bash
You can use any text editor you prefer to edit code. Many Evergreen developers use Vim, which runs inside the Git Bash window. You can also use outside programs such as Visual Studio Code, Notepad, Notepad++, or any other text editor that will save flat text. You can configure Git Bash to launch your text editor from a command, or you can use the text editor outside of Git Bash. Notepad++ is used in the instructions here because it will look and act the most familiar to Windows users.
The instructions below are for installing and configuring Notepad++ in the Windows environment so that it can be launched from within Git Bash. As noted above, Notepad++ is just one of the options available.
Using Notepad++ To launch a document in Notepad++ (whether it is a new document you are creating, or an existing document you wish to view or edit), navigate to the relevant folder, then enter:
If you edit the document, save your changes. Then, simply close the Notepad++ window.
origin git://git.evergreen-ils.org/Evergreen.git (fetch) origin git://git.evergreen-ils.org/Evergreen.git (push) working firstname.lastname@example.org:working/Evergreen.git (fetch) working email@example.com:working/Evergreen.git (push)
If any of these lines are incorrect, correct them by using these commands:
git remote set-url origin git://git.evergreen-ils.org/Evergreen.git #or git remote set-url working firstname.lastname@example.org:working/Evergreen.git
Alternatively, you can open the configuration file and edit it directly in your text editor of choice: