From 34a6633a527a861beecd43aba160f73cd4b1e489 Mon Sep 17 00:00:00 2001 From: bendtherules Date: Tue, 25 Jun 2019 11:05:29 +0530 Subject: [PATCH] Add basic commands file With some structure and top-level categories defined --- src/commands.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/commands.md diff --git a/src/commands.md b/src/commands.md new file mode 100644 index 0000000..dc74206 --- /dev/null +++ b/src/commands.md @@ -0,0 +1,33 @@ +Git commands I forget +-------------------------- + +## Init + +### Add username and email + +#### To local - +```shell +git config --local user.name +git config --local user.email +``` + +#### To global - +```shell +git config --global user.name +git config --global user.email +``` + +#### Folder-specific at global level - + + +## Repo + +## Commit + +## Branch + +## Stash + +## Ignore and keep + +## Other similar websites and inspirations \ No newline at end of file