diff --git a/docs/cheat_sheet.md b/docs/cheat_sheet.md index d6ba90b..1b90bd4 100644 --- a/docs/cheat_sheet.md +++ b/docs/cheat_sheet.md @@ -17,7 +17,7 @@ When developing, these commands may come in handy: | `poetry shell` | Activate the virtual environment | | `poetry add ` | Add a new dependency to Poetry | | `poetry add --group dev ` | Add a new developer dependency to Poetry | -| `poetry show` | List all available packages with descriptions | +| `poetry show` | List all available dependencies with descriptions | ## [Mkdocs Commands](https://www.mkdocs.org/user-guide/) @@ -34,4 +34,19 @@ When developing, these commands may come in handy: | `make test` | Runs pytest | | `make test_docker` | Runs pytest on Docker | | `make output_coverage` | Outputs the coverage of the tests | -| `make send_email` | Runs `send_email.py` | \ No newline at end of file +| `make send_email` | Runs `send_email.py` | + + +## [Git](https://education.github.com/git-cheat-sheet-education.pdf) + +| Argument | Description| +| -------- | ------- | +| `git clone ` | Clones git repository to your local machine| +| `git add ` | Adds file to your next commit | +| `git commit -m ` | Commit your staged content (from `git add `) | +| `git push` | Pushes lcoal changes to remote repo branch | +| `git status` | Shows modified files | +| `git branch` | Shows the branches | +| `git checkout -b ` | Creates a new branch, `branch`, and switches into it | +| `git branch -d ` | Delete a local branch | +| `git push -u origin ` | Pushes a local branch to the upstream remote repo | \ No newline at end of file