update Softutils & git
This commit is contained in:
parent
a2cd11c720
commit
6216f41d4d
@ -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
|
||||
|
@ -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`
|
||||
|
||||
|
||||
## example de déclencheur git
|
||||
|
||||
```
|
||||
```bash
|
||||
#!/bin/bash
|
||||
GIT_REPO=`pwd`
|
||||
SITE_NAME=notebook
|
||||
|
Loading…
Reference in New Issue
Block a user