Skip to content

Instantly share code, notes, and snippets.

@saifun
Created November 27, 2021 20:42
Show Gist options
  • Save saifun/a24f43b420a4579a4052edf47ce36e9d to your computer and use it in GitHub Desktop.
Save saifun/a24f43b420a4579a4052edf47ce36e9d to your computer and use it in GitHub Desktop.
# Git Tutorial
Introduction?
## Some Important Terms
Let's start with the definition of some important terms that are used to create the Git world.
* Repo
* Fork
* Branch
* Commit
* Add
* Push
* Pull
* Merge
* Rebase
* Pull Request (PR)
* Origin
* Upstream
## Healthy Workflow
* Working with SSH
* Branch per feature + how to sync from different computers + when should I open a new branch and how (where to branch from)?
* Working with PRs
* Multiple contributors projects
* .gitignore + README
### Working with SSH
Add an explanation about SSH key configuration...
## Motivation
* Backup
* Version contol
* Access from anywhere
## Useful Git Commands
* `git init`
* `git clone ...`
* `git branch`
* `git checkout`
* `git status`
* `git add`
* `git commit -m "<message>"`
* `git diff`
* `git pull [origin <branch>]`
* `git push [origin <branch>, -u <upstream>]`
* `git merge`
* `git rm; git mv`
* `git stash`
* `git log`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment