A command/terminal window will be used to execute the Git commands below.
Launch the Terminal application:
# Set the default behavior, in case people don't have core.autocrlf set. | |
* text=auto |
Summary of common Git commands and syntax, documentation, and recommended reading to gain a general understanding of Git usage.
INITialize a new empty local repository [in the <target-directory>
], and add the REMOTE tracked repository:
git init [<target-directory>]
git remote add <remote-name> <remote-repository>
# Documentation: | |
# https://git-scm.com/docs/gitignore | |
# Common patterns: | |
# Hash = everything that follows is a comment. | |
# Leading slash = matches the directory containing the .gitignore file. | |
# No leading slash = matches anywhere in the repository, from the directory containing the .gitignore file and deeper. | |
# Trailing slash = matches a directory itself, but not a file. | |
# No trailing slash = matches a directory or a file. | |
# * = matches 0 or more characters (except /). |
List of courses in English at Khan Academy (work in progress). Includes links to many retired courses that are hidden but still available.