Post #7 My Gist - breif overview and quick Git reminder
Coding Corner
Challenge
A short overview of my Gist on GitHub and a quick reminder of basic Git and Bash commands.
The Scripterix Gist contains a collection of small scripts and code snippets published on GitHub. You’ll find examples in Python, Java, JavaScript and utilities helpful for project work. The repository is updated periodically with new solutions and techniques.
Selected examples and snippets:
- ES6 / EcmaScript
- Bulma Carousel with Text Content
- Flex CSS
- Flex and Grid (grid nested in flex)
- Bootstrap Modal v4.5.3
- JWT
- Git / Git Bash examples and CLI commands
Quick Git commands (shortcut reference):
# Initialize a local repository
git init
# Add a file to the index
git add <file>
# Add all files in current directory
git add .
# Remove file from index
git rm --cached index.html
# Check working tree status
git status
# Commit changes
git commit -m "Commit message"
# Push to remote
git push
Useful resources:
- Official Git site: https://git-scm.com/
- Documentation: https://git-scm.com/doc
- The book “Pro Git” (freely available online)
Recommended courses (Polish):
- kursgita.pl — Git course by Maciej Aniserowicz
If you’d like, I can expand any example from the Gist (for example git-stash) or generate an index page listing all files in the repository.