diff --git a/shell_tools b/shell_tools index cd0943f..874e299 100644 --- a/shell_tools +++ b/shell_tools @@ -71,6 +71,35 @@ Close current pane Ctrl+b,x # git +## Basics +Initialize the current directory as git repository +`git init` + +Stage changes of a file or directory +`git add ` + +Commit changes with message +`git commit -m ` + +List files staged, unstaged and untracked +`git status` + +Display entire commit history in a nice way +`git log --all --graph --decorate` + +## Branches +List all branches in current repo +`git branch` + +Create new branch named *branch_name* and checkout on it +`git checkout -b ` + + +## Undoing stuff + +## Remote repositories + # docker # weechat - +Switch between weechat core buffer and server buffer +Ctrl+x