From b837e9cad64d45a06d71dbbe4519f17508b315d7 Mon Sep 17 00:00:00 2001 From: antoine Date: Thu, 3 Dec 2020 14:51:43 +0100 Subject: [PATCH] Change titles section formats --- shell_tools.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/shell_tools.md b/shell_tools.md index 874e299..7552d9d 100644 --- a/shell_tools.md +++ b/shell_tools.md @@ -1,7 +1,7 @@ The purpose of this document is serve as a repository of the Unix shell commands and key bindings that either are the most useful or that I use the most. -# tmux -## Sessions +## tmux +### Sessions Start new session named *name* `tmux new -s name` @@ -27,7 +27,7 @@ Kill session named *name* Kill all sessions except the current `tmux kill-ses -a` -## Windows +### Windows Create new window Ctrl+b,c @@ -47,7 +47,7 @@ Select window by number Close window Ctrl+b,& -## Panes +### Panes Split pane vertically Ctrl+b,% @@ -70,8 +70,8 @@ Convert pane into a new window Close current pane Ctrl+b,x -# git -## Basics +## git +### Basics Initialize the current directory as git repository `git init` @@ -87,7 +87,7 @@ List files staged, unstaged and untracked Display entire commit history in a nice way `git log --all --graph --decorate` -## Branches +### Branches List all branches in current repo `git branch` @@ -95,11 +95,11 @@ Create new branch named *branch_name* and checkout on it `git checkout -b ` -## Undoing stuff +### Undoing stuff -## Remote repositories +### Remote repositories -# docker -# weechat +## docker +## weechat Switch between weechat core buffer and server buffer Ctrl+x