miércoles, 23 de agosto de 2023

GIT ALIAS

[alias]

  ec = config --global -e

  co = checkout

  br = branch

  cm = commit -am

  st = status

  up = !git pull --rebase --prune $@ && git submodule update --init --recursive

  save = !git add -A && git commit -m 'SAVEPOINT'

  wip = commit -am "WIP"

  undo = reset HEAD~1 --mixed

  amend = commit -a --amend

  wipe = !git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard

  ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate

  ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat

  lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short

  ld = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative

  decorate=git log --all --decorate --oneline --graph

  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(auto)%d%C(reset)' --all

  lg2=log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n''          %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'

  f = "!git ls-files | grep -i"

  grep = grep -Ii

  gr = grep -Ii

  gra = "!f() { A=$(pwd) && TOPLEVEL=$(git rev-parse --show-toplevel) && cd $TOPLEVEL && git grep --full-name -In $1 | xargs -I{}   echo $TOPLEVEL/{} && cd $A; }; f"

  la = "!git config -l | grep alias | cut -c 7-"

  lasttag = describe --tags --abbrev=0

  lt = describe --tags --abbrev=0

  ours = "!f() { git co --ours $@ && git add $@; }; f"

  theirs = "!f() { git co --theirs $@ && git add $@; }; f"

cob = checkout -b Checkouts a new not yet existing branch.

f = fetch -p Fetches from a repository and prune any remote-tracking no longer existed references on the remote.

p = push Push the changes to a remote.

bd = branch -d Deletes a branch only if it has been merged.

ba = branch -a Lists both remote-tracking and local branches.

bD = branch -D Force to delete a branch.

dc = diff --cached Displays the staged changes.


https://www.w3docs.com/learn-git/git-alias.html#:~:text=A%20git%20alias%2C%20also%20known%20as%20a%20shortcut%2C,git%20config%20command%20and%20the%20git%20configuration%20files.

 https://elbauldelprogramador.com/21-aliases-utiles-para-git/

GIT: Ver todos los git alias

git config --list |grep alias


 git config -l | grep alias


https://platzi.com/discusiones/1557-git-github/27607-hay-alguna-forma-de-ver-el-listado-de-todos-los-alias-que-he-creado/


LIMPIAR CACHE de Office

 

Borre manualmente la memoria caché en Excel, Word y PowerPoint

Para quitar todos los complementos instalados de prueba de Excel, Word y PowerPoint, elimine el contenido de la carpeta siguiente.

%LOCALAPPDATA%\Microsoft\Office\16.0\Wef\
https://learn.microsoft.com/es-es/office/dev/add-ins/testing/clear-cache

Cerrar el git config --global -e


https://stackoverflow.com/questions/13239368/how-to-close-git-commit-editor

jueves, 3 de agosto de 2023