Skip to content

Instantly share code, notes, and snippets.

View palaueb's full-sized avatar

Marc palaueb

View GitHub Profile
@palaueb
palaueb / ssh-close-stuck-session.md
Last active September 4, 2024 19:53
How to Safely Exit a Stuck SSH Session

Managing SSH Sessions: Essential Commands and Tips

How to Safely Exit a Stuck SSH Session

Step 1: Press Enter

  • Description: Ensures you are at the beginning of a new line, necessary for the commands to be recognized.
  • Usage: Hit the Enter key.

Step 2: Type ~

  • Description: Uses the tilde key as a special escape sequence initiator for SSH.
@palaueb
palaueb / git-merge-cat.md
Created July 20, 2024 08:12
Merge d'una branca git de forma manual

Merge d'una branca git de forma manual

Actualitzar el teu repositori local: Primer, assegura't que tens les darreres canvis del repositori:

git fetch origin

Canviar a la branca principal: Abans de fer el merge, canvia a la branca principal: