This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
sitio/Git.md

809 B

Diffs útiles con delta

  • apk add delta less

  • ~/.gitconfig

    [core]
    	pager = delta
    [interactive]
    	diffFilter = delta --color-only
    [delta]
    	light = true # Cambiar a dark si se usa tema oscuro
    	navigate = true  # use n and N to move between diff sections
    [merge]
    	conflictstyle = diff3
    [diff]
    	colorMoved = default
    

Encontrar que commit eliminó algo

git log -S <string> archivo

StackOverflow

Borrar archivos sin trackear

git clean