Git: Difference between revisions

Jump to navigation Jump to search
90 bytes added ,  17 February 2020
→‎Fix or amend last commit: undo changes to a file
→‎Tags: add remove tags
→‎Fix or amend last commit: undo changes to a file
Line 314: Line 314:
<source lang="bash">
<source lang="bash">
$ git commit --amend
$ git commit --amend
</source>
== Undo changes to a file ==
<source lang="bash">
$ git checkout -- filename
</source>
</source>


Navigation menu