19 lines
512 B
Markdown
19 lines
512 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
|
|
```
|