Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- git, sacar archivos del indice git (.gitignore) @tech:git:dotfiles
- = git, sacar archivos del indice git (.gitignore) Gemini dixit: <markdown> Esa es una excelente pregun... importante entender cómo funciona Git con `.gitignore` y los ficheros ya existentes. ### ⚠️ Ficheros... cuando añadiste la línea `data/cache/*` al `.gitignore`, **estos ficheros seguirán siendo rastreados p... aparecerán en `git status`**. El fichero `.gitignore` solo afecta a los ficheros **no rastreados** (
- git tips
- utorials/syncing/git-pull]] == ramas <code bash renombrado rama en local y remoto> git checkout <old_n... mits que se hayan realizado > git ck -b rama_destino git cherry-pick <commit1>..<commit2> # commit1^..... ommit1 en el movimiento git push origin rama_destino # envíamos los cambios git push origin :rama_orig... ag> git tag -a <TAG> -m "<MENSAJE>" # tag local annotated git push origin <TAG> # subir tag a remoto g
- git repo server
- ForceCommand /usr/bin/git AllowTCPForwarding no X11Forwarding no </code> * **gitlab-ce**:<code ; ~git/.ssh/authorized_keys> command="/opt/gitla... dded/service/gitlab-shell/bin/gitlab-shell key-1",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AA...restofkeysnip! </code>
- .git*
- fig -l | grep alias | cut -c 7-" </code> == .gitignore <code> outgoing/* !outgoing/.gitkeep data/* !d... se ve afectado un fichero:<code bash>git check-ignore -v <ruta/al/archivo></code> aunque no esté afectada por ninguna regla: <code bash>git check-ignore -v --no-index --non-matching <ruta/al/fichero><
- git MERGE
- ro común == 2 maneras de mostrar/trabajar: * ''no-ff'' -> no fastforward : nanera de trabajar por defecto de la mayoría de los repositorios, se muestra... al con <rama> en formato fast-forward * ''%%--no-ff%%'' : en formato no-fastforward * ''git merge %%--%%squash <rama>'' : importa los cambios de la
- git config
- sponibles * ''git config --global user.name "Mi Nombre"'' * ''git config --global user.email "mi@e... * ''git config --global http.sslVerify false'' : no verifica el certificado en peticiones por *https*... tial.helper store'' : store contraseñas (texto plano) autenticación * ''git config --global creden
- Anotaciones curso GIT
- = Anotaciones curso GIT * git init * git add * .gitignore * git diff [--staged][--cached] * git commi... git push [--tags] * git tag [-l][-a][-m] * anotadas, ligeras * git show * patrones glob -> r
- git: migrar repositorio
- rear un repositorio vacío en el proveedor de destino - clonar el repositorio que queremos cambiar de... ode bash>git remote set-url origin <URL_REPO_DESTINO></code> - enviar todos los commits, ramas y tag... refs/heads/*”</code> * si solo queremos llevarnos una rama:<code bash>git push -u origin master</c
- git REVERT
- ción por defecto en línea de comando) * ''%%--no-edit%%'' : lo contrario * ''git revert <commit>..<commit>'' : revierte desde el primero (no incluido) al último * ''-n'' : no realiza el commit ¿? * para incluir el primero, usar ''<com
- git TAG
- ght: ligeros, hace referencia a un commit * annotated: añade más información, como autor, mensaje ... * ''git tag -a <tag> -m "mensaje"'' : crea tag anotado en el HEAD * ''git tag -a <tag> <commit> ... eckout <tag>'' : se usa como referencia para movernos al commit asociado == sincronizar * ''git pus
- git autopush shell script
- el remote: * git config credential.helper <- no he hecho funcionar o no aporta * origin https://<user>:<pass>@<url> * certificado SSH? <- deb
- git DIFF
- show --stat --oneline <commit-id> git diff-tree --no-commit-id --name-only -r <commit-id> </code> * ... :<code bash>git log branch1..branch2</code> * menos información:<code bash>git log --oneline --graph
- git diff[tool]
- show --stat --oneline <commit-id> git diff-tree --no-commit-id --name-only -r <commit-id> </code> == ... stExitCode false </code> <code properties; .gitignore> [merge] tool = kdiff3 [mergetool "kdiff3"]
- git LFS
- n cliente:<code bash>git lfs install --local # si no se especifica --local, afecta a todos los repos d... code bash>git lfs env</code> * ''.lfsconfig'' * <code bash>git push --no-verify origin main</code>
- git STASH
- %%--%%include-untracked] "<message>"'' : le da un nombre a la sesión guardada en el stash * ''-u''... n los ficheros del stash@{indice} (si hay más de uno) * ''git stash pop stash@{indice}'' : idem an