Skip to content

Instantly share code, notes, and snippets.

View joaquintalice's full-sized avatar
🖥️
Studying

Joaquin Talice joaquintalice

🖥️
Studying
View GitHub Profile

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@joaquintalice
joaquintalice / recomendada.Dockerfile
Created August 6, 2023 19:28 — forked from Klerith/recomendada.Dockerfile
NextJS - Dockerfile - Configuración simple y recomendada
# Fuente: https://github.com/vercel/next.js/blob/canary/examples/with-docker/README.md
# Install dependencies only when needed
FROM node:16-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
@joaquintalice
joaquintalice / README.md
Created July 16, 2023 02:05 — forked from Klerith/README.md
Deprecated Method - Decorador

@Deprecated - Method Decorator

En la definición del método, se puede marcar como obsoleto (deprecated) con la justificación. Esto ayudará a que otros developers sepán que deben de utilizar ya la alternativa.

@Deprecated('Most use speak2 method instead')
 speak() {
      console.log(`${ this.name }, ${ this.name }!`)
 }
@joaquintalice
joaquintalice / instalaciones-nestjs.md
Created July 15, 2023 14:12 — forked from Klerith/instalaciones-nestjs.md
Instalaciones recomendadas para el curso de Nest.js
@joaquintalice
joaquintalice / git-alias.md
Last active May 29, 2023 08:02 — forked from Klerith/git-alias.md
Useful Git Alias

Log

git config --global alias.lg "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"

Status

git config --global alias.s "status --short"

Alternativa útil de status

git config --global alias.s "status -sb"