| Kategory | Kommand | Miniscription | |
|---|---|---|---|
| docker | docker ps -a | List all containers including stopped |
▲ 1
Display
|
| docker | docker compose up --build | Rebuild images and start services |
▲ 0
Display
|
| git | git remote -v | Show remote repository URLs |
▲ 0
Display
|
| docker | docker compose restart app | Restart a specific service |
▲ 0
Display
|
| docker | docker exec -it <container> /bin/bash | Open shell in running container |
▲ 0
Display
|
| docker | docker logs <container> -f | Follow container logs live |
▲ 0
Display
|
| docker | docker images | List local Docker images |
▲ 0
Display
|
| docker | docker system prune -a | Remove all unused Docker resources |
▲ 0
Display
|
| docker | docker compose run -it --rm web ./bin/rails console | Rails console inside Docker |
▲ 0
Display
|
| docker | docker compose run --rm web ./bin/rails db:migrate | Run migrations inside Docker |
▲ 0
Display
|
| docker | docker compose run --rm web ./bin/rails runner "<ruby code>" | Run Ruby code in Rails context |
▲ 0
Display
|
| git | git pull | Fetch and merge remote changes |
▲ 0
Display
|
| git | git push origin main --force | Force push to main branch |
▲ 0
Display
|
| git | git reset --hard HEAD~1 | Undo last commit discard changes |
▲ 0
Display
|
| docker | docker compose down | Stop and remove containers |
▲ 0
Display
|
| git | git log --oneline | Compact one-line commit history |
▲ 0
Display
|
| git | git checkout -b <branch-name> | Create and switch to new branch |
▲ 0
Display
|
| git | git stash | Temporarily save uncommitted changes |
▲ 0
Display
|
| git | git stash pop | Apply most recent stash |
▲ 0
Display
|
| git | git diff --staged | Show staged changes before commit |
▲ 0
Display
|
| git | git clone --depth 1 <url> | Shallow clone single commit history |
▲ 0
Display
|
| aws-cli | aws sso login --profile <profile> | Authenticate with AWS SSO |
▲ 0
Display
|
| aws-cli | aws s3 cp s3://<bucket>/<file> ./ --profile <profile> | Download file from S3 bucket |
▲ 0
Display
|
| aws-cli | aws s3 sync --delete . s3://<bucket>/ --profile <profile> | Sync local directory to S3 |
▲ 0
Display
|
| docker | docker compose up -d | Start services in detached mode |
▲ 0
Display
|