You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.0 KiB
3.0 KiB
Oh my Git!¶
XPUB's Git: https://git.xpub.nl/
Git introduction tutorial: https://rogerdudler.github.io/git-guide/
Visual cheat sheet: https://ndpsoftware.com/git-cheatsheet.html
Most commonly used git commands¶
git pull
git status
git log
git add filename.txt
git commit -m "my short summary of what has changed"
git push
Clone, branch, merge & forking¶
git clone https://git.xpub.nl/username/repository_name
git checkout
git merge
Oh my Git, let's do it¶
We will make a Git repository together, that includes:
playcard.html
: the most epic playcard everplaycard.css
: CSS rules to style the playcardplaycard.ipynb
: notebook in which we generate a PDF based on the HTML + CSS files.gitignore
: a gitignore file that includes the notebook: we do not want to push changes in the notebook back to gitREADME.md
: a README file written in markdown
Possible way how Git's features can be used?¶
- How to write a narrative story in git... ? Like imagine mapping the idea of parallel branches to a world with parallel realities
Diving further into Git: Oh shit Git!¶
In [ ]: