Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
|
wiki2:git_pipelines [2022/03/13 10:33] alfred [Commits] |
wiki2:git_pipelines [2022/03/13 11:35] (actual) |
||
|---|---|---|---|
| Línea 14: | Línea 14: | ||
| ===== How to... ===== | ===== How to... ===== | ||
| - | ==== Commits ==== | ||
| - | === Configure an ssh key === | + | ==== Configure an ssh key ==== |
| Generate an ssh key without passphrase or it will keep asking you for for it. You need to upload the public key to the server. Then, configure the host in your ssh config: | Generate an ssh key without passphrase or it will keep asking you for for it. You need to upload the public key to the server. Then, configure the host in your ssh config: | ||
| Línea 34: | Línea 33: | ||
| ssh -vvv git@git.alfredgg.dev | ssh -vvv git@git.alfredgg.dev | ||
| </code> | </code> | ||
| - | + | ==== This could be a good config ==== | |
| - | === ... get a commit from another branch? === | + | |
| - | <code> | + | |
| - | git cherry-pick <commit> | + | |
| - | </code> | + | |
| - | + | ||
| - | === This could be a good config === | + | |
| <code> | <code> | ||
| Host git.alfredgg.dev | Host git.alfredgg.dev | ||
| Línea 47: | Línea 40: | ||
| User git | User git | ||
| </code> | </code> | ||
| + | |||
| + | ==== Commits ==== | ||
| + | |||
| + | ==== ... get a commit from another branch? ==== | ||
| + | <code> | ||
| + | git cherry-pick <commit> | ||
| + | </code> | ||
| + | |||
| + | |||
| ==== Merges ==== | ==== Merges ==== | ||
| === ... abort a merge? === | === ... abort a merge? === | ||