Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- .git*
- s = status l = log --oneline --max-count=10 ll = log --pretty=format:"%C(yellow)%... anch -avv lv = log --walk-reflogs --max-count=10 ai = add --interactive ss = s... om = pull origin master ploh = pull origin HEAD unstage = reset --soft HEAD^ ls = log --pretty=form... ials.csv </code> comprobar porqué se ve afectado un fichero:<code bash>git check-ignore -v <ruta/al/a
- git tips
- lizar listado ramas> git remote update origin --prune git branch -a </code> /via: [[https://stackoverf... ranches]] <code bash (ohshitgit) Sacar commit de una rama para llevarlo a una nueva> git branch nueva-rama git reset HEAD~ --hard git checkout nueva-rama... n todas las ramas>git reflog # cada entrada tiene un HEAD@{index}</code> <code bash (ohsgitgit) vuelta
- git: fusion varios repos en 1 conservando historia
- first_repo `link_to_first_repo` git merge --allow-unrelated-histories first_repo/master</code> * ''-f'' hace que haga un fetch inmediatamente (With -f option, git fetch <name> is run immediately after the remote information is set up.) * ''--allow-unrelated-histories'' permite saltarse la restricció
- git: replicación o duplicación de repositorios
- de repositorios {{tag>git}} <code bash; replicar un repositorio (by mate)> # partiendo de un repositorio existente y uno recién creado cp -r $PATH_REPO $PATH_REPO_NEW (habría que hacer un --bare antes?) git remote -set-url origin $URL_RE
- git, sacar archivos del indice git (.gitignore) @tech:git:dotfiles
- git (.gitignore) Gemini dixit: <markdown> Esa es una excelente pregunta y es importante entender cómo funciona Git con `.gitignore` y los ficheros ya existentes. ### ⚠️ F... e` solo afecta a los ficheros **no rastreados** (*untracked*). No tiene efecto sobre los ficheros que
- git autopush shell script
- h shell script {{tag>git}} script bash para hacer un commit de un repositorio GIT de manera automatizada * añadir a cron para ejecución automatizada. ... * git config credential.helper <- no he hecho funcionar o no aporta * origin https://<user>:<pass>@<url> * certificado SSH? <- debería funcionar <code bash> #!/bin/bash cd <git_directory
- git DIFF
- </code> * mostrar ficheros cambiados respecto a un commit:<code bash> git show --stat --oneline <com... * muestra diferencias entre 2 ramas (HEAD) (2 puntos):<code bash>git diff branch1..branch2</code> * muestra diferencias entre el HEAD de una rama y el ancestro común de la otra (3 puntos):<code bash>git diff branch1...branch2</code> == dife
- git STASH
- area* * ''git stash save [-u | %%--%%include-untracked] "<message>"'' : le da un nombre a la sesión guardada en el stash * ''-u'' : incluye los ficheros untracked * ''git stash save [-k | %%--%%keep-inde... en los ficheros del stash@{indice} (si hay más de uno) * ''git stash pop stash@{indice}'' : idem a
- git repo server
- * no **~/.bashrc**, **~/.profile** * [[https://unix.stackexchange.com/questions/489771/block-git-user-from-login-but-allow-the-user-to-still-function-as-a-git-repo]] == repositorio [[https://www.linux.com/training-tutorials/how-run-your-own-git-server/]] === crear repositorio bare
- GIT: unable to create thread: Resource temporarily unavailable @tech:git:error
- = GIT: unable to create thread: Resource temporarily unavailable {{tag>git}} <code bash>git fsck git prune git repack git fsck </code> <code bash> git conf
- Anotaciones curso GIT
- lobal core.editor * git config --global alias.unstage 'reset HEAD ~' * git config --global ali... p][-2][--stat][--pretty][--online][-n][--since][--until][--author][--all-match][-S] * online, shor
- git: migrar repositorio
- /vía: [[https://maureenbarahona.medium.com/migrar-un-repositorio-con-todos-sus-commits-y-todas-sus-ramas-ccd2c5e6d389]] </callout> - crear un repositorio vacío en el proveedor de destino - ... /heads/*”</code> * si solo queremos llevarnos una rama:<code bash>git push -u origin master</code>
- git CHERRY-PICK
- CHERRY-PICK {{tag>git comando}} permite importar un commit (de otra rama) a tu rama sin traer el hist
- git diff[tool]
- <code bash; mostrar ficheros cambiados respecto a un commit> git show --stat --oneline <commit-id> git
- Crear repositorio de solo lectura (para algunos)
- = Crear repositorio de solo lectura (para algunos) {{tag>git}} * Crear repo: <code bash>mkdir mi_rep