From 80bb349dfbfe63f155ebcf2e8a7cb0cf10fdd8b2 Mon Sep 17 00:00:00 2001 From: Flancian <0@flancia.org> Date: Fri, 26 Feb 2021 20:54:31 +0100 Subject: [PATCH] alias --- .vscode/keybindings.json | 26 -------------------------- git-alias.md | 9 ++++----- 2 files changed, 4 insertions(+), 31 deletions(-) delete mode 100644 .vscode/keybindings.json diff --git a/.vscode/keybindings.json b/.vscode/keybindings.json deleted file mode 100644 index 575281ca6..000000000 --- a/.vscode/keybindings.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "key": "ctrl+shift+b", - "command": "vscodeMarkdownNotesBacklinks.focus" - }, - { - "key": "ctrl+alt+[", - "command": "workbench.action.navigateBack" - }, - { - "key": "ctrl+alt+]", - "command": "workbench.action.navigateForward" - }, - { - "key": "ctrl+shift+a", - "command": "git.commitAll" - }, - { - "key": "ctrl+alt+v", - "command": "toggleVim" - }, - { - "key": "ctrl+shift+s", - "command": "workbench.action.files.saveFiles" - } -] \ No newline at end of file diff --git a/git-alias.md b/git-alias.md index a6818351a..28d9b4c50 100644 --- a/git-alias.md +++ b/git-alias.md @@ -1,9 +1,8 @@ # Git Alias ``` -$ git config --global alias.co checkout -$ git config --global alias.br branch -$ git config --global alias.ci commit -$ git config --global alias.st status +git config --global alias.co checkout +git config --global alias.br branch +git config --global alias.ci commit +git config --global alias.F "reset --hard HEAD" ``` -