Cerca
Heus ací els resultats de la cerca.
Noms de pàgina coincidents:
Resultats de text complet:
- .git*
- checkout s = status l = log --oneline --max-count=10 ll = log --pretty=format:... %cn]" --decorate --numstat lg = log --oneline --decorate --graph ls = log --pretty=for... --walk-reflogs --max-count=10 ai = add --interactive ss = status --short </code> <cod... amend -m dev = !git checkout dev && git pull origin dev staging = !git checkout staging && git pull
- git tips
- it merge * modo seguro:<code bash>git fetch origin git log --oneline main..origin/main git checkout main git log origin/main git merge origin/main</code> * [[https://www.at
- git submodulos
- = git submodulos {{tag>git}} == clonar incluyendo submódulos <code bash; v2.13+>git clone --recurse-su... t> cd <path-git-submodule> git submodule update --init --recursive</code> == incluir en nuestro proyecto * añadir submódulo : <code bash>git submodule ... l submódulo, se procede como un commit normal * inicializar submódulo : <code bash>git submodule ini
- git repo server
- == ssh * **git-shell** * ''usermod -s /usr/bin/git-shell <username>'' * **/etc/ssh/sshd_config**:<code> Match User git ForceCommand /usr/bin/git AllowTCPForwarding no X11Forwarding no </code> * **gitlab-ce**:<code ; ~git/.ssh/authorized_keys> command="/opt/g
- git, sacar archivos del indice git (.gitignore) @tech:git:dotfiles
- = git, sacar archivos del indice git (.gitignore) Gemini dixit: <markdown> Esa es una excelente pregunta y es importante entender ... efecto sobre los ficheros que Git ya conoce y ha indexado. ### ✅ Solución: Dejar de rastrear los fic... están ahora ignorados por `.gitignore`, debes eliminarlos explícitamente del índice (el *staging area*
- GIT
- = GIT {{tag>devops info}} == related === comandos {{NEWPAGE>tech:git}} {{topic>git +comando}} === cursos {{topic>git +cursos}} === + info {{NEWPAGE>tech:git}} {{topic>git -cursos -coman... * [[https://nvie.com/posts/a-successful-git-branching-model/]] == doc * [[https://git-scm.com/book/... [[https://esparta.github.io/gitimmersion-spanish/index.html]] * [[https://www.atlassian.com/git/tut
- git STASH
- *staged 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-index] "<message>"'' : guarda en el stash los ficheros del *working copy* == listar * ''git stash list'' : lista
- git: fusion varios repos en 1 conservando historia
- tag>git}} /via: [[https://medium.com/@checko/merging-two-git-repositories-into-one-preserving-the-git-history-4e20d3fafa4e]] * creamos nuevo repo + primer commit (no ''remote'... usionar:<code bash>git remote add -f first_repo `link_to_first_repo` git merge --allow-unrelated-histo
- git: migrar repositorio
- igrar repositorio {{tag>git}} <callout type="warning" title="Errores" icon="true">Esta página contiene errores subsanados en la explicación \\ /vía: [[ht... crear un repositorio vacío en el proveedor de destino - clonar el repositorio que queremos cambiar d... del repositorio<code bash>git remote set-url origin <URL_REPO_DESTINO></code> - enviar todos los co
- git diff[tool]
- básicos <code bash; mostrar diferencias entre working area y último commit> git diff @ # @ = HEAD </co... iados respecto a un commit> git show --stat --oneline <commit-id> git diff-tree --no-commit-id --name-... #git config --global mergetool.kdiff3.path "/usr/bin/kdiff3" #git config --global mergetool.kdiff3.tru... 3 git config --global difftool.kdiff3.path "/usr/bin/kdiff3" git config --global difftool.kdiff3.trust
- git LFS
- cket-cloud/docs/use-git-lfs-with-bitbucket/]] == install <code bash>sudo apt install git-lfs</code> == setup (nuevos repos) * instalación cliente:<code bash>git lfs install --local # si no se especifica --local, afecta a todos los
- git RESET
- g>git comando}} * ''git reset <commit>'' : elimina los commits posteriores a <commit> y deja las modificaciones en el **working copy** * ''git reset HEAD~1'' : elimina el último commit * ''git reset <commit>^'' : elimina el commit seleccionado y posteriores <callout ty
- git autopush shell script
- er <- no he hecho funcionar o no aporta * origin https://<user>:<pass>@<url> * certificado SSH? <- debería funcionar <code bash> #!/bin/bash cd <git_directory> [[ -z "$(git status --porcelain)" ]] || { git add . git commit -m "$(date +%Y-%m-%d)" git push origin master } </code>
- git CHERRY-PICK
- mite importar un commit (de otra rama) a tu rama sin traer el histórico (solo el commit en sí) * ''git cherry-pick <commit>'' : trae el commit indicado a la rama actual * ''-e'' : edita el me... ..<commit>'' : trae el rango de commits sucesivos indicados * ''<commit>^..<commit>'' : idem anterior, incluyendo el primer commit
- Anotaciones curso GIT
- = Anotaciones curso GIT * git init * git add * .gitignore * git diff [--staged][--cached] * ... it mv * git log [-p][-2][--stat][--pretty][--online][-n][--since][--until][--author][--all-match][-S] * online, short, full, fuller, format * !! git reset HEA