Commit d2166488 authored by Evan Read's avatar Evan Read

Merge branch 'patch-66' into 'master'

Fix Typo: add/pull

See merge request gitlab-org/gitlab!24989
parents 4adb63d9 efad6aec
...@@ -11,11 +11,11 @@ comments: false ...@@ -11,11 +11,11 @@ comments: false
## Subtree Aliases ## Subtree Aliases
- Add: `git subtree add --prefix <target-folder> <url> <branch> --squash`. - Add: `git subtree add --prefix <target-folder> <url> <branch> --squash`
- Pull: `git subtree add --prefix <target-folder> <url> <branch> --squash`. - Pull: `git subtree pull --prefix <target-folder> <url> <branch> --squash`
- Push: `git subtree add --prefix <target-folder> <url> <branch>`. - Push: `git subtree add --prefix <target-folder> <url> <branch>`
- Ex: `git config alias.sbp 'subtree pull --prefix st / - Ex: `git config alias.sbp 'subtree pull --prefix st /
git@gitlab.com:balameb/subtree-nested-example.git master --squash'`. git@gitlab.com:balameb/subtree-nested-example.git master --squash'`
```shell ```shell
# Add an alias # Add an alias
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment