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 +```