First commit: draft of the blog

This commit is contained in:
2019-04-22 17:05:20 +05:30
commit 4f8531d634
11 changed files with 247 additions and 0 deletions

16
content/chs-git.md Normal file
View File

@ -0,0 +1,16 @@
---
title: Some git tricks
date: 2019-04-22
category: Cheat Sheets
---
Some git tricks I use from time to time and that I forgot everytime…
Reset `master` to `origin/master`:
```sh
git co origin/master -B master
```
Another useful trick is `git commit -v`, it allows reviewing your changes before committing.
![Example](/examples/git-cv.svg)

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

9
content/pages/index.md Normal file
View File

@ -0,0 +1,9 @@
---
title: Welcome
date: 2019-04-22
author: Fabrice Mouhartem
URL:
save_as: index.html
---
Welcome to this _blog_, which aims at relieving my brain from the hard task of remembering all sort of weird stuff. I hope it'll help some of you as well.