From 6216f41d4db8525ad4a88f7074a2e43103d53dbb Mon Sep 17 00:00:00 2001 From: vincent Date: Thu, 26 Nov 2020 19:27:32 +0100 Subject: [PATCH] update Softutils & git --- IT/Soft_util.md | 2 +- IT/git.md | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/IT/Soft_util.md b/IT/Soft_util.md index 29ca980..da425eb 100644 --- a/IT/Soft_util.md +++ b/IT/Soft_util.md @@ -2,4 +2,4 @@ ## tunelling -[chisel](https://github.com/jpillora/chisel) permet de mettre e,n place un tunel TCP sur du http +[chisel](https://github.com/jpillora/chisel) permet de mettre en place un tunel TCP sur du http diff --git a/IT/git.md b/IT/git.md index 9d5eb4d..407d07e 100644 --- a/IT/git.md +++ b/IT/git.md @@ -1,21 +1,18 @@ # git - ## delete a file only from git repository `git rm -rf --cached` ## delete a file from complete history - be carefull can't push repo last time use -`git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch logbook.md" HEAD ` - +`git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch logbook.md" HEAD` ## example de déclencheur git -``` +```bash #!/bin/bash GIT_REPO=`pwd` SITE_NAME=notebook @@ -40,4 +37,4 @@ rm -Rf $TMP_GIT_CLONE fi exit -``` \ No newline at end of file +```