User Tools

Site Tools


doc:appunti:prog:git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:prog:git [2026/11/06 10:26] – [git add] niccolodoc:appunti:prog:git [2026/11/06 10:51] (current) – [git restore] niccolo
Line 80: Line 80:
 <code> <code>
 git add -A git add -A
 +</code>
 +
 +==== git restore ====
 +
 +Se un file viene modificato nel repositori locale e **non è stato committed** né pushed nel repository origine, è possibile riportarlo alla versione precedente con:
 +
 +<code>
 +git restore nomefile
 </code> </code>
  
doc/appunti/prog/git.1793957177.txt.gz · Last modified: by niccolo