You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sitio/Git.md

959 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

Usar jump server

Sirve para Internet censurado en escuelas con Plan Sarmiento

GIT_SSH_COMMAND="ssh -J ubuntu@10.0.0.1:993" git pull