Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.23 KB

README.md

File metadata and controls

22 lines (16 loc) · 1.23 KB

Git Cheat Sheet

Feel free to use this cheat sheet for yourself or for teaching workshops. You can see it rendered as an HTML page here or download it as a PDF file here.

Contributing

Editing the Markdown file.

The cheat sheet is written as a single Markdown file and published as a Github page using the minimal theme. We recommend using Typora to edit the markdown file locally.

Previewing the rendered HTML page

If you want to preview the rendered web page, setup Jekyll using the instructions on this page.

Previewing the PDF file

The PDF version is automatically generated using wkhtmltopdf. I have not found an easy way to preview how the PDF will look after the changes when using Jekyll locally. As a workaround, you can always run it on your fork first, after you enable gh pages, with the following syntax:

wkhtmltopdf https://joaorodrigues.github.io/git-cheat-sheet/ git-cheat-sheet.pdf

License

Licensed under CC BY-SA 4.0, for details see LICENSE.md.