mirror of
https://github.com/bendtherules/git-commands-i-forget.git
synced 2026-08-18 13:53:50 +00:00
Add basic commands file
With some structure and top-level categories defined
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
Git commands I forget
|
||||
--------------------------
|
||||
|
||||
## Init
|
||||
|
||||
### Add username and email
|
||||
|
||||
#### To local -
|
||||
```shell
|
||||
git config --local user.name <username>
|
||||
git config --local user.email <email>
|
||||
```
|
||||
|
||||
#### To global -
|
||||
```shell
|
||||
git config --global user.name <username>
|
||||
git config --global user.email <email>
|
||||
```
|
||||
|
||||
#### Folder-specific at global level -
|
||||
<!-- TODO Talk about includeif here -->
|
||||
|
||||
## Repo
|
||||
|
||||
## Commit
|
||||
|
||||
## Branch
|
||||
|
||||
## Stash
|
||||
|
||||
## Ignore and keep
|
||||
|
||||
## Other similar websites and inspirations
|
||||
Reference in New Issue
Block a user