This reverts commit 4497535246
.
This commit is contained in:

committed by
GitHub

parent
50f42a99eb
commit
be3998d964
@@ -5,19 +5,19 @@
|
||||
|
||||
- Add a git repository as a subtree:
|
||||
|
||||
`git subtree add --prefix={{path/to/directory/}} --squash {{repository_url}} {{main}}`
|
||||
`git subtree add --prefix={{path/to/directory/}} --squash {{repository_url}} {{master}}`
|
||||
|
||||
- Update subtree repository to its latest commit:
|
||||
|
||||
`git subtree pull --prefix={{path/to/directory/}} {{repository_url}} {{main}}`
|
||||
`git subtree pull --prefix={{path/to/directory/}} {{repository_url}} {{master}}`
|
||||
|
||||
- Merge a subtree repository into main:
|
||||
- Merge a subtree repository into master:
|
||||
|
||||
`git subtree merge --prefix={{path/to/directory/}} --squash {{repository_url}} {{main}}`
|
||||
`git subtree merge --prefix={{path/to/directory/}} --squash {{repository_url}} {{master}}`
|
||||
|
||||
- Push commits to a subtree repository:
|
||||
|
||||
`git subtree push --prefix={{path/to/directory/}} {{repository_url}} {{main}}`
|
||||
`git subtree push --prefix={{path/to/directory/}} {{repository_url}} {{master}}`
|
||||
|
||||
- Extract a new project history from the history of a subtree:
|
||||
|
||||
|
Reference in New Issue
Block a user