Ambdós costats versió prèvia Revisió prèvia Següent revisió | Revisió prèvia |
tech:git:start [10/07/2025 06:03] – [+ info] mate | tech:git:start [10/07/2025 06:06] (actual) – [todo] mate |
---|
* [[https://git-scm.com/book/es/v2]] | * [[https://git-scm.com/book/es/v2]] |
* [[https://esparta.github.io/gitimmersion-spanish/index.html]] | * [[https://esparta.github.io/gitimmersion-spanish/index.html]] |
| |
== +info | |
* [[tech:git:tips]] | |
* [[tech:git:dotfiles]] | |
* [[tech:git:autopush]] | |
* [[tech:git:diff]] | |
* [[tech:git:lfs]] | |
* [[tech:git:migrar]] | |
* [[tech:git:error:thread]] | |
* [[tech:git:replica]] | |
* [[tech:git:submodule]] | |
* [[tech:git:fusion]] | |
* [[tech:git:difftool]] | |
* [[https://www.atlassian.com/git/tutorials/learn-git-with-bitbucket-cloud|git bitbucket tutorial]] | * [[https://www.atlassian.com/git/tutorials/learn-git-with-bitbucket-cloud|git bitbucket tutorial]] |
* [[https://ohshitgit.com/es]] | * [[https://ohshitgit.com/es]] |
| |
| |
== todo | == todo |
<callout type="info" title="git resumen" icon="true">http://rogerdudler.github.io/git-guide/index.es.html</callout> | <callout type="info" title="git resumen" icon="true">http://rogerdudler.github.io/git-guide/index.es.html</callout> |
<callout type="info" title="git command tricks" icon="true">https://medium.freecodecamp.org/bash-shortcuts-to-enhance-your-git-workflow-5107d64ea0ff</callout> | <callout type="info" title="git command tricks" icon="true">https://medium.freecodecamp.org/bash-shortcuts-to-enhance-your-git-workflow-5107d64ea0ff</callout> |
* git-config condicional : [[https://www.kevinkuszyk.com/2018/12/10/git-tips-6-using-git-with-multiple-email-addresses/]] | <callout type="info" title="git-config condicional" icon="true">[[https://www.kevinkuszyk.com/2018/12/10/git-tips-6-using-git-with-multiple-email-addresses/]]</callout> |
| |
== glosario | |
* HEAD == @ | |
* HEAD^ : commit anterior al HEAD | |
* HEAD@{1.month} | |
* - (guión) : te devuelve a la rama que acabas de dejar | |
| |
== config | |
* ubicación: | |
* system : /etc/gitconfig [--system] | |
* global : ~/.gitconfig [--global] | |
* repo : .git/config | |
* <code bash>git config --list --show-origin</code> | |
* ''git config [--global] --list'' : si omitimos el ámbito, muestra todas las configuraciones disponibles | |
* ''git config --global user.name "Mi Nombre"'' | |
* ''git config --global user.email "mi@email"'' | |
* ''git config --global http.sslVerify false'' : no verifica el certificado en peticiones por *https* | |
* ''git config --global core.editor "%%'$(which vim)'%%"'' : asignar VIM como editor por defecto | |
* ''git config credential.helper store'' : store contraseñas (texto plano) autenticación | |
* ''git config --global credential.helper %%'cache --timeout 7200'%%'' | |
* ''git config credential.helper libsecret''? | |
| |
| |