mirror of
https://github.com/balkian/gists.git
synced 2024-11-24 02:12:29 +00:00
This commit is contained in:
parent
8aa49ff90a
commit
4805cb0c9e
@ -1,11 +1,13 @@
|
||||
# Create a submodule from a specific folder
|
||||
#GIT MAGIC
|
||||
|
||||
## Create a submodule from a specific folder
|
||||
```
|
||||
git clone <your_project> <your_submodule>
|
||||
cd <your_submodule>
|
||||
git filter-branch --subdirectory-filter 'path/to/your/submodule' --prune-empty -- --all
|
||||
```
|
||||
|
||||
# Remove a file from history
|
||||
## Remove a file from history
|
||||
|
||||
```
|
||||
git filter-branch --force --index-filter \
|
||||
|
Loading…
Reference in New Issue
Block a user