The goal of this project is to help those in non-technical (or not primarily technical) roles, such as designers, understand and practice the basics of using Git through collaborative editing of documentation. This repo contains text files and associated media, rather than code.
- Forking and branching
- Fork an existing repo
- Create a branch in your forked repo
- Editing and committing
- Make changes using the basic editor
- Make changes using the online code editor
- Opening a pull request to the original project
- Syncing your fork once the PR is accepted
graph TD
subgraph GITHUB
ORIGINAL_REPO["Original Repo<br>Project on GitHub"]
FORK[Fork]
PULL_REQUEST["Pull Request<br>How you contribute your changes"]
end
subgraph YOUR_BROWSER
BROWSER_BRANCH[Branch]
URL("https://github.com/username/repo/tree/branch")
end
ORIGINAL_REPO -- "Your GitHub Account" --> FORK
FORK --> BROWSER_BRANCH
BROWSER_BRANCH -- "Make Changes" --> BROWSER_BRANCH
BROWSER_BRANCH --> PULL_REQUEST
PULL_REQUEST -.-> ORIGINAL_REPO
- Cloning a fork to your local machine
- Choosing and installing an editor
- Pushing your branch from local to remote
graph TD
subgraph GITHUB
ORIGINAL_REPO["Original Repo<br>Project on GitHub"]
FORK[Fork]
PULL_REQUEST["Pull Request<br>How you contribute your changes"]
end
subgraph YOUR_COMPUTER
LOCAL_CLONE[Local Clone]
BRANCH[Branch]
end
ORIGINAL_REPO -- "Your GitHub Account" --> FORK
FORK --> LOCAL_CLONE
LOCAL_CLONE -- "Make Changes" --> BRANCH
BRANCH --> PULL_REQUEST
PULL_REQUEST -.-> ORIGINAL_REPO
Special thanks to Daniel Mundra for assistance.