Command Reference
Quick reference for common CLI commands used in EBRAINS development.
Overview
This section provides quick-lookup command references extracted from EBRAINS tutorials. Each reference page contains:
- Command syntax and options
- Common usage examples
- Best practices
- Troubleshooting tips
- Links to related tutorials
Git Commands
Version control with standardized EBRAINS conventions.
- Git Commit Reference - Conventional commit format, types, scopes, and examples
- Git Branching Reference - Branch naming conventions and workflow
- Git Tagging Reference - Semantic versioning and release tags
- Git Commands Cheatsheet - Quick reference for all Git commands
Quick Example:
Docker Commands
Container management with EBRAINS Harbor registry.
- Build, Tag, Push Reference - Docker image build and deployment workflow
- Docker Registry Reference - EBRAINS Harbor registry operations
Quick Example:
npm & Nx Commands
Package management and monorepo development.
- Nx Commands Reference - Monorepo build, test, and development commands
- npm Commands Reference - Package installation and management
Quick Example:
Quick Command Lookup
Most Common Commands
| Task | Command |
|---|---|
| Clone repository | git clone <url> |
| Create branch | git checkout -b feat/18 |
| Commit changes | git commit -m "type(scope): message" |
| Push branch | git push origin feat/18 |
| Create tag | git tag -a v1.0.0 -m "Release" |
| Build Docker | docker build -t myapp:1.0.0 . |
| Push Docker | docker push docker-registry.ebrains.eu/project/image:tag |
| Install deps | npm install |
| Generate app | npx nx generate @nx/react:application my-app |
| Serve app | nx serve my-app |
| Build app | nx build my-app |
| Test app | nx test my-app |
Related Tutorials
Learn these commands in context:
- First Contribution Tutorial - Complete Git workflow
- How to Git Commit - Commit conventions
- Version Your Project - Semantic versioning
- Publish Docker Image - Docker workflow
- Build Your First App - Nx monorepo