8. Local & RemoteLocal & Remote
RepositoriesRepositories
In Git, every computer has a
complete copy of the repository
(Local Repositories)
All changes can then be synced to a
central remote repository
9. CommitCommit
A Commit is a specific set of
changes that is submitted to the
repository, creating a new version
(of the committed files)
each commit has a “commit message”
that describes what was archived
with this commit
11. BranchesBranches
1. Easy to create
2. helps to concentrate on one change
3. can later be merged into the “main” branch
4. avoids collisions from multiple editors
18. A GUI forA GUI for RemoteRemote RepositoriesRepositories
Cprovides other project management helpers,
such as:
Issue management
Wiki
Milestones
19. Each delivery has its ownEach delivery has its own
repositoryrepository
For example:
github.com/w3c/wai-tutorials/
github.com/w3c/wai-quick-start/
github.com/w3c/wai-wcag-quickref/
27. Reference syntaxReference syntax
@username – notifies a user about a comment
(Pretty much like @-replies on Twitter)
#123 – References that issue
6f8bddc011 – references that commit
32. Always provide a link to the pageAlways provide a link to the page
in questionin question
Or, if possible, a link to the section of the page
33. Keep the issue clear, concise andKeep the issue clear, concise and
focused on a specific issuefocused on a specific issue
34. Bad: “I don’t like content of page X”Bad: “I don’t like content of page X”
good: “On page X the wording in thegood: “On page X the wording in the
introduction is unclear.”introduction is unclear.”
37. Make “atomar” changesMake “atomar” changes
If there are multiple, independent wording
changes, create multiple pull requests
if it’s a change throughout a page (or repository),
one pull request is enough