Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions READMECHEATSHEET.md
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh! C'è stato un fraintendimento credo, nella issue ci riferivamo all'attuale file README.md già presente nella repo. Riuscireste a spostare le modifiche lì? Grazie mille!

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Issue: Git CheatSheet #36

Assegnato git1/cheatsheet.md a gabb-OS
Assegnato git2/cheatsheet.md a Prio22
Assegnato READMECHEATSHEET.md a Makire0103

40 changes: 40 additions & 0 deletions git1/cheatsheet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# GIT 1 - Comandi base
## Perchè ```git```
- Cronologia trasparente su tutti i cambiamenti dei file
- Ripristinare qualsiasi stato precedente
- Collaborazione tra utenti e copie dinamiche

## Installazione di ```git```
### Su Linux
Easy

### Su Windows
Meh

### Su MacOS
Easy

## Configuazione di profilo
```
$ git config --global user.name "Nome Cognome"
$ git config --global user.email "nome.cognome@studio.unibo.it"
$ git config --global init.defaultBranch main
```

## Comandi base
- ```git init```
- ```git add```
- ```git commit```
- ```git status```
- untracked
- unmodified
- modified
- staged
- ```git log```
- ```git diff```
- ```git restore```
- ```git checkout```
- ```git stash```

## Un piccolo esercizio
[Qui](https://risorse.vercel.app/lab/2025/01-git1-comandi-base.pdf?)
1 change: 1 addition & 0 deletions git2/cheatsheet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
branch, merge, reset, restore, checkout, show
1 change: 1 addition & 0 deletions nuovoFile.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ciao