Skip to content

Commit

Permalink
publish articles
Browse files Browse the repository at this point in the history
  • Loading branch information
MozeBaltyk committed Oct 29, 2023
1 parent 781980a commit 1978664
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 18 deletions.
File renamed without changes.
9 changes: 3 additions & 6 deletions content/news/bad-good-ugly-git/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ type: news
title: 👺 The Bad, the Good and the Ugly Git
date: 2023-08-21T03:48:10+02:00
featured: true
draft: true
draft: false
comment: true
toc: true
reward: true
Expand All @@ -28,11 +28,8 @@ When it come about IT, git is impossible to be ignore... even for an infrastruct
## The bad Surprise

Few days ago, I was wondering why my commits are not counted in my Github Activity Dashboard after a good day of pushing code...

After a quick investigation, I notice that in my project directory `git config user.name` and `git config user.email` are not set.

I go in Github to checks my last commit, actually it's right my push was done with the `git config --global user.name`.

Not a big deal, but this reveal my name when I would rather appreciate to stay anonymous (just a personnal choice).


Expand Down Expand Up @@ -146,7 +143,7 @@ Host github.com
The top is to use `gh` which is the github-cli tools for handling github projects. So it's noticable that github prefers SSH protocol over HTTPS.

```bash
# Cloning with GH will set SSH as default protocol:
# Cloning with GH (usually SSH as default protocol in your ~/.config/gh/config.yml):
gh repo clone MozeBaltyk/MozeBaltyk

# If you target a specific Github:
Expand All @@ -155,7 +152,7 @@ GH_HOST=github.example.com gh repo clone MozeBaltyk/MozeBaltyk
# gh clone https is also possible:
gh repo clone https://github.com/MozeBaltyk/mozebaltyk.github.io.git

# this one in https when you target a specific Github repo:
#Same as above in https
gh repo clone git+https://github.com/MozeBaltyk/MozeBaltyk.git
```

Expand Down
18 changes: 9 additions & 9 deletions content/news/how-to-create-this-blog/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
type: news
title: 🌌 How to Create this Blog
date: 2023-09-06T02:59:46+02:00
date: 2023-10-29T02:59:46+02:00
featured: true
draft: false
comment: true
Expand Down Expand Up @@ -342,14 +342,14 @@ jobs:
To update the theme

```bash
$ cd themes/hugo-theme-bootstrap
$ git fetch
$ git checkout [version]
$ cd ../../
$ hugo mod npm pack
$ npm update
$ git add themes/hugo-theme-bootstrap package.hugo.json package.json package-lock.json node_modules
$ git commit -m 'Bump theme to [version]'
cd themes/hugo-theme-bootstrap
git fetch
git checkout [version]
cd ../../
hugo mod npm pack
npm update
git add themes/hugo-theme-bootstrap package.hugo.json package.json package-lock.json node_modules
git commit -m 'Bump theme to [version]'
```

## 💡 Bonus point
Expand Down
4 changes: 2 additions & 2 deletions content/news/just-vs-makefile/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
title: 👷👮 Makefile VS Justfile
date: 2023-08-21T03:48:10+02:00
featured: true
draft: true
draft: false
comment: true
toc: true
reward: true
Expand Down Expand Up @@ -45,7 +45,7 @@ Here a list of what justfile can do natively but not makefile:

* Define your work dir `just --justfile ~/.user.justfile --working-directory ~` (I am not convince that you can do it with Makefile)

* Precheck of the code.
* Code Precheck is highly appreciate.

```bash
bash: line 1: repository: unbound variable
Expand Down
2 changes: 1 addition & 1 deletion content/news/wsl-beauty/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
type: news
title: 🎉 The Beauty of WSL
date: 2023-08-22T03:48:10+02:00
date: 2023-10-29T03:48:10+02:00
featured: true
draft: true
comment: true
Expand Down

0 comments on commit 1978664

Please sign in to comment.