Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:recommended_tools:git
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
development:recommended_tools:git [2018/07/24 12:08] – demiankatz | development:recommended_tools:git [2021/05/03 20:06] – [Upgrading] demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Git ====== | ====== Git ====== | ||
- | Git is a distributed version control system. | + | Git is a distributed version control system. |
===== Cloning the Repository ===== | ===== Cloning the Repository ===== | ||
Line 25: | Line 25: | ||
1.) Create a fork of the main VuFind repository. If you plan on tracking your configuration files in Git, be sure that this is private -- you can either use a private GitHub repository or host your own Git repository on a local server. | 1.) Create a fork of the main VuFind repository. If you plan on tracking your configuration files in Git, be sure that this is private -- you can either use a private GitHub repository or host your own Git repository on a local server. | ||
- | 2.) On your server, clone the fork and check out the appropriate branch or tag for your needs. If you want to stay up to date with bleeding-edge development, | + | 2.) On your server, clone the fork and check out the appropriate branch or tag for your needs. If you want to stay up to date with bleeding-edge development, |
3.) From the checked-out branch or tag, create a new branch for your local work on the server (for example, you might create a development branch for your development server, a staging branch for your staging server, and a production branch on your production server). | 3.) From the checked-out branch or tag, create a new branch for your local work on the server (for example, you might create a development branch for your development server, a staging branch for your staging server, and a production branch on your production server). | ||
Line 57: | Line 57: | ||
==== Upgrading ==== | ==== Upgrading ==== | ||
- | You will periodically want to update your fork with upstream changes -- for example, when a new feature you need is added to the master | + | You will periodically want to update your fork with upstream changes -- for example, when a new feature you need is added to the dev branch, or when a new official release is issued. |
For example, suppose that you established a " | For example, suppose that you established a " | ||
Line 70: | Line 70: | ||
5.) Update your local configurations and customizations as described in the [[installation: | 5.) Update your local configurations and customizations as described in the [[installation: | ||
+ | |||
+ | :!: The [[videos: | ||
===== Learning More ===== | ===== Learning More ===== | ||
development/recommended_tools/git.txt · Last modified: 2022/12/14 18:39 by demiankatz