Files
natto/Tenmado/Git.md
2023-08-22 20:52:17 -05:00

20 lines
513 B
Markdown

#Public/Notta
## Cheatsheet
**Most use command:**
```bash
git clone url ## Clones a repo
git add -A ## Stages all current changes
git commit -m "message" ## Commits all changes located in the Staged area and adds a message
```
**Setting up a new git dev environment:**
Set up global information to *keep stuff organized and see changes made by others:*
```bash
git config --global user.name "username" ## Configures global username
git config --global user.email "email" ## Configures global user email
```