You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# <imgsrc="https://raw.githubusercontent.com/PSLmodels/Git-Tutorial/master/book/_static/logo/jb_git_tutorial_logo.png"width=40 /> Git and GitHub Use, Collaboration, and Workflow (*IN PROGRESS*)
4
-
This repository houses the source code and content files for the open access, *Git and GitHub Use, Collaboration, and Workflow* book tutorial and training that many contributors to the [PSLmodels](https://github.com/PSLmodels) community use. This project uses [Jupyter Book](https://jupyterbook.org/intro.html)0.7.3 to create the HTML and Jupyter notebook forms of the tutorial. This public GitHub repository hosts all the source code for the book, and the compiled Jupyter book is available at the GitHub page for this repository [https://pslmodels.github.io/Git-Tutorial](https://pslmodels.github.io/Git-Tutorial), up to the most recent commit to the master branch. We hope to add tutorial videos at some point in the future. This project is maintained by [Richard W. Evans](https://sites.google.com/site/rickecon/) and [Jason DeBacker](https://www.jasondebacker.com/).
3
+
# <imgsrc="https://raw.githubusercontent.com/PSLmodels/Git-Tutorial/master/book/_static/logo/jb_git_tutorial_logo.png"width=40 /> Git and GitHub Use, Collaboration, and Workflow
4
+
This repository houses the source code and content files for the open access, *Git and GitHub Use, Collaboration, and Workflow* book tutorial and training used by many contributors in the [PSLmodels](https://github.com/PSLmodels) community. This project uses [Jupyter Book](https://jupyterbook.org/intro.html) to create the published HTML version of the tutorial. The source lives in this GitHub repository, and the compiled book is available at [https://pslmodels.github.io/Git-Tutorial](https://pslmodels.github.io/Git-Tutorial). This project is maintained by [Richard W. Evans](https://sites.google.com/site/rickecon/) and [Jason DeBacker](https://www.jasondebacker.com/).
5
5
6
6
7
7
## Contributing to the book
@@ -13,7 +13,7 @@ From your fork of this repository, you can generate your own version of the book
13
13
14
14
### Setting up the virtual environment
15
15
16
-
The virtual environment specifications are defined in the [`environment.yml`]() file. If you have not set up the conda environment, navigate to your `Git-Tutorial` repository folder in your terminal on your local machine and execute the following two commands. If you have already created the conda environment, then simply activate it using the second command below (skip the first command).
16
+
The virtual environment specifications are defined in the [`environment.yml`](environment.yml) file. If you have not set up the conda environment, navigate to your `Git-Tutorial` repository folder in your terminal on your local machine and execute the following two commands. If you have already created the conda environment, then simply activate it using the second command below (skip the first command).
17
17
18
18
```bash
19
19
conda env create -f environment.yml
@@ -45,4 +45,4 @@ jb clean --all ./book
45
45
46
46
## Notes
47
47
48
-
Put notes here.
48
+
This repository is actively maintained and contributions are welcome. The most helpful contributions usually improve tutorial clarity, correct command examples, add beginner-friendly explanations, or expand the hands-on workflow chapters.
An application programming interface or API is the medium, method, and rules through which a user interacts with software. The API includes a medium which can be a {term}`command line interface` on a specific {term}`local` terminal or a {term}`graphical user interface`. The API also defines the commands through which a user interacts with the software.
7
7
8
8
benevolent dictator
9
-
TODO: Make *benevolent dictator* entry...
9
+
In open-source software, a benevolent dictator is an informal term for a person who has broad authority over the direction of a project and final say over which changes are accepted. In many modern projects, decision-making is shared across several maintainers rather than centered on one individual.
10
10
11
11
Bitbucket
12
12
*Bitbucket* or [*Bitbucket.org*](https://bitbucket.org/) is a {term}`cloud` {term}`source code management service` platform designed to enable scalable, efficient, and secure version controlled collaboration by linking {term}`local` {term}`Git` version controlled software development by developers.
13
13
14
14
Bitkeeper
15
-
TODO: Put Bitkeeper definition here...
15
+
BitKeeper was a proprietary version control system that played an important role in the history of Linux kernel development and influenced the design of {term}`Git`.
16
16
17
17
Box, Inc.
18
-
TODO: Box Inc. definition... University file sharing company...
18
+
Box, Inc. is a cloud file storage and file sharing service used by many universities and businesses. It supports file synchronization and sharing, but it is not a full version control platform like GitHub.
19
19
20
20
branch
21
-
TODO: define branch
21
+
A branch is a named line of development in a Git repository. Branches allow a user to work on one set of changes independently from another set of changes.
22
22
23
23
centralized version control system
24
24
A centralized version control system or CVCS is an approach to version control in which all the files in a {term}`repository` as well as the change history (content and timing) are located on a central {term}`remote` server. User's check out versions of files from the repository and check them back in, creating new change history on the central server.
@@ -30,22 +30,22 @@ cloud
30
30
Cloud can be a descriptor or a noun. As a descriptor, cloud refers to computational resources, such as servers, that are accessed remotely via the internet. As a noun, remote computational resources and storage can be referred to generically as "the cloud".
31
31
32
32
command line interface
33
-
TODO: A *command line interface* or CLI...
33
+
A command line interface or CLI is a text-based way of interacting with software by typing commands into a terminal.
34
34
35
35
commit
36
-
TODO: *Commit* can be a verb or a noun. Define commit...
36
+
Commit can be a verb or a noun in Git. As a verb, to commit means to record a set of staged changes in the repository history. As a noun, a commit is that recorded snapshot together with its author, timestamp, and message.
37
37
38
38
continuous integration
39
-
Continuous integration or continuous integration unit testing is...
39
+
Continuous integration or CI is the practice of automatically running checks, such as tests, builds, or style validation, whenever changes are proposed or merged.
40
40
41
41
distributed version control system
42
42
A *distributed version control system* or DVCS is {term}`version control system` software on any computer, {term}`local` or {term}`remote`, that tracks the entire history of changes to a {term}`repository` and coordinates and organizes collaboration among multiple users. It is distributed in the sense that multiple {term}`clone`s of a single {term}`remote` repository have the same full history of that repository.
43
43
44
44
Dropbox
45
-
TODO: define Dropbox
45
+
Dropbox is a cloud file storage and synchronization service. It is useful for sharing files, but it does not provide the same history, branching, and code review features as Git and GitHub.
46
46
47
47
fork
48
-
TODO: define fork
48
+
A fork is a copy of a remote repository created under a different GitHub account or organization. Forks are central to many open-source workflows because they let contributors propose changes without direct write access to the upstream repository.
49
49
50
50
Git
51
51
*Git* is {term}`open source` {term}`version control system` software with capability designed to also operate as {term}`distributed version control system` (DVCS) software that resides on your local computer and tracks changes and the history of changes to all the files in a directory or {term}`repository`. See the Git website [https://git-scm.com/](https://git-scm.com/) and the [Git Wikipedia entry](https://en.wikipedia.org/wiki/Git) {cite}`GitWiki2020` for more information.
@@ -54,25 +54,25 @@ GitHub
54
54
*GitHub* or [*GitHub.com*](https://github.com/) is a {term}`cloud` {term}`source code management service` platform designed to enable scalable, efficient, and secure version controlled collaboration by linking {term}`local` {term}`Git` version controlled software development by users. *GitHub*'s main business footprint is hosting a collection of millions of version controlled code repositories. In addition to being a platform for {term}`distributed version control system` (DVCS), *GitHub*'s primary features include code review, project management, {term}`continuous integration` {term}`unit testing`, {term}`GitHub actions`, and associated web page (GitHub pages) and documentation hosting and deployment.
55
55
56
56
GitHub actions
57
-
GitHub actions
57
+
GitHub Actions is GitHub's automation system for running workflows such as tests, builds, deployments, and repository maintenance tasks.
58
58
59
59
GitLab
60
-
TODO: define *GitLab*...
60
+
GitLab is a source code hosting and collaboration platform similar to GitHub. It supports Git repositories, issue tracking, merge requests, CI, and other project management features.
61
61
62
62
Google Docs
63
-
TODO: define Google Docs
63
+
Google Docs is a cloud-based collaborative word-processing application. It is useful for shared writing, but it is not a substitute for Git-based version control of code repositories.
64
64
65
65
Google Drive
66
-
TODO: define Google Drive
66
+
Google Drive is a cloud storage and file synchronization platform from Google. It can store and share project files, but it does not provide Git-style branching, merging, and commit history.
67
67
68
68
graphical user interface
69
-
A graphical user interface or GUI...
69
+
A graphical user interface or GUI is a visual way of interacting with software through windows, buttons, menus, icons, and other on-screen elements.
70
70
71
71
integrated development environment
72
-
Integrated development environment or IDE is a software application that comsolidates many of the functions of software development under one program. IDE's often include a code editor, object memory and identification, debugger, and build automation tools. (See [IDE Wikipedia entry](https://en.wikipedia.org/wiki/Integrated_development_environment) {cite}`GitIDE2020`.)
72
+
Integrated development environment or IDE is a software application that consolidates many of the functions of software development under one program. IDEs often include a code editor, object memory and identification, debugger, and build automation tools. (See [IDE Wikipedia entry](https://en.wikipedia.org/wiki/Integrated_development_environment) {cite}`GitIDE2020`.)
73
73
74
74
Linux
75
-
TODO: write Linux description...
75
+
Linux is a family of open-source operating systems whose development history is closely tied to the history of Git.
76
76
77
77
local
78
78
*Local* is a descriptor that refers to files that reside or operations that are performed on a user's machine to which he or she has direct access without using the internet.
@@ -81,13 +81,13 @@ local version control system
81
81
A *local version control system* or LVCS is the simplest and most common approach to VCS. LVCS stores all the changes to the files in a {term}`repository` locally on the user's machine as a series of changes or deltas in the files. This is the approach taken by Apple's Time Machine backup software as most software that includes an "undo" function.
82
82
83
83
merge
84
-
TODO: create *merge* entry...
84
+
Merge can be a verb or a noun. To merge is to combine changes from one branch into another branch. A merge may happen automatically or may require human conflict resolution.
85
85
86
86
open source
87
87
*Open source* is a descriptor that is usually applied to software or computer code projects, but can also be applied to any project based upon or represented by digital files. An open source project is one in which the source code is freely available to be downloaded and used and in which collaboration, improvements, and changes to the code are encouraged. The free download and use (outward direction) aspect of *open source* is often emphasized. But the collaboration and improvement contribution (inward direction) aspect is at least as important. {term}`Git` and {term}`GitHub` have enabled efficient and scalable collaboration to a degree not seen in other collaborative workflows.
88
88
89
89
pull request
90
-
TODO: define *pull request*...
90
+
A pull request or PR is a GitHub request asking maintainers to review and merge a proposed set of changes from one branch into another branch.
91
91
92
92
remote
93
93
*Remote* is a descriptor that refers to files that reside or operations that are carried out on a server to which a user has access using the internet.
@@ -99,7 +99,7 @@ source code management service
99
99
A *source code management service* is a {term}`cloud` platform that hosts computer code files and provides either {term}`centralized version control system` (CVCS) or {term}`distributed version control system`. As the central hub of either CVCS or DVCS, the source code management service provides the platform and rules for distributed code collaboration. Leading examples are {term}`GitHub` and {term}`Bitbucket`.
100
100
101
101
unit testing
102
-
Unit testing is...
102
+
Unit testing is the practice of writing and running tests for small, individual parts of a code base to confirm that each part behaves as expected.
103
103
104
104
version control system
105
105
*Version control system* or version control software or VCS is software that records changes to a set of files, including the order in which the changes were made and the content of those changes, in such a way that previous versions can be recalled or restored.
0 commit comments