From 1f9858fd1d3a61d37dec08f8925248bce2b41e97 Mon Sep 17 00:00:00 2001 From: dejanu Date: Wed, 20 Nov 2024 16:45:01 +0200 Subject: [PATCH] wow --- git.md | 6 +++--- k8s.md | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/git.md b/git.md index 1f235de..6054f64 100644 --- a/git.md +++ b/git.md @@ -41,9 +41,9 @@ * Git has 3 levels of **configuration**: -SYSTEM: configurations for multiple users -GLOBAL: configurations used for one user all repo on one host -LOCAL: configuration for one repo +**SYSTEM** (configurations for multiple users) +**GLOBAL** (configurations used for one user all repo on one host) +**LOCAL** (configuration for one repo) ```bash # list the configuration: cat ~/.gitconfig 😉 diff --git a/k8s.md b/k8s.md index 6397570..98aa5d8 100644 --- a/k8s.md +++ b/k8s.md @@ -275,6 +275,7 @@ kubectl config set-credentials # set default namespace kubectl config set-context --current --namespace= +kubectl config set-context $(kubectl config current-context) --namespace= ``` ### Get k8s objects: