Change animation for git commit -v

This commit is contained in:
Fabrice Mouhartem 2019-04-24 14:26:01 +05:30
parent 07c57c8eab
commit b98cad2c86
3 changed files with 165 additions and 9 deletions

View File

@ -1,7 +1,7 @@
---
Title: Quelques astuces git
Date: 2019-04-22 17:00
Modified: 2019-04-24 00:47
Modified: 2019-04-24 14:27+05:30
Author: Fabrice
Category: cheat sheets
Tags: git, termtosvg
@ -48,7 +48,7 @@ git add -p <file>
Une autre astuce utile: `git commit -v`, qui permet de réviser nos changements avant de commiter.
Une image vaut mieux que mille mots:
![Example](/examples/git-cv.svg)
<object data="/examples/git-cv.svg" width="100%">Utilisation de git commit -v</object>
Une interface ncurses pour git: [tig](https://jonas.github.io/tig/)
```sh

View File

@ -1,7 +1,7 @@
---
Title: Some git tricks
Date: 2019-04-22 17:00
Modified: 2019-04-23 14:23
Modified: 2019-04-24 14:27+05:30
Author: Fabrice
Category: cheat sheets
Tags: git, termtosvg
@ -44,7 +44,7 @@ git add -p <file>
Another useful trick is `git commit -v`, it allows reviewing your changes before committing.
![Example](/examples/git-cv.svg)
<object data="/examples/git-cv.svg" width="100%">Use of git commit -v</object>
A ncurse-based interface for git: [tig](https://jonas.github.io/tig/)
```sh

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 59 KiB