(chore) replace master/slave with inclusive language (#4459)
This commit is contained in:
@@ -5,19 +5,19 @@
|
||||
|
||||
- Add a git repository as a subtree:
|
||||
|
||||
`git subtree add --prefix={{path/to/directory/}} --squash {{repository_url}} {{master}}`
|
||||
`git subtree add --prefix={{path/to/directory/}} --squash {{repository_url}} {{main}}`
|
||||
|
||||
- Update subtree repository to its latest commit:
|
||||
|
||||
`git subtree pull --prefix={{path/to/directory/}} {{repository_url}} {{master}}`
|
||||
`git subtree pull --prefix={{path/to/directory/}} {{repository_url}} {{main}}`
|
||||
|
||||
- Merge a subtree repository into master:
|
||||
- Merge a subtree repository into main:
|
||||
|
||||
`git subtree merge --prefix={{path/to/directory/}} --squash {{repository_url}} {{master}}`
|
||||
`git subtree merge --prefix={{path/to/directory/}} --squash {{repository_url}} {{main}}`
|
||||
|
||||
- Push commits to a subtree repository:
|
||||
|
||||
`git subtree push --prefix={{path/to/directory/}} {{repository_url}} {{master}}`
|
||||
`git subtree push --prefix={{path/to/directory/}} {{repository_url}} {{main}}`
|
||||
|
||||
- Extract a new project history from the history of a subtree:
|
||||
|
||||
|
Reference in New Issue
Block a user