Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d2166488
Commit
d2166488
authored
Feb 23, 2020
by
Evan Read
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-66' into 'master'
Fix Typo: add/pull See merge request gitlab-org/gitlab!24989
parents
4adb63d9
efad6aec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
doc/university/training/topics/subtree.md
doc/university/training/topics/subtree.md
+4
-4
No files found.
doc/university/training/topics/subtree.md
View file @
d2166488
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment