mirror of
https://github.com/namibia/tips.git
synced 2024-09-28 21:49:01 +00:00
Updated title text
This commit is contained in:
parent
8e73868075
commit
1f08b12668
12
README.md
12
README.md
@ -57,8 +57,8 @@
|
|||||||
* [Retrieve the commit hash of the initial revision.](https://github.com/git-tips/tips#retrieve-the-commit-hash-of-the-initial-revision)
|
* [Retrieve the commit hash of the initial revision.](https://github.com/git-tips/tips#retrieve-the-commit-hash-of-the-initial-revision)
|
||||||
* [Visualize the version tree.](https://github.com/git-tips/tips#visualize-the-version-tree)
|
* [Visualize the version tree.](https://github.com/git-tips/tips#visualize-the-version-tree)
|
||||||
* [Deploying git tracked subfolder to gh-pages](https://github.com/git-tips/tips#deploying-git-tracked-subfolder-to-gh-pages)
|
* [Deploying git tracked subfolder to gh-pages](https://github.com/git-tips/tips#deploying-git-tracked-subfolder-to-gh-pages)
|
||||||
* [Adding a project to repo using subtree. For example we are adding in vendor directory](https://github.com/git-tips/tips#adding-a-project-to-repo-using-subtree-for-example-we-are-adding-in-vendor-directory)
|
* [Adding a project to repo using subtree](https://github.com/git-tips/tips#adding-a-project-to-repo-using-subtree)
|
||||||
* [Get latest changes in your repo for a linked subproject using subtree. For example we have the subproject in vendor directory](https://github.com/git-tips/tips#get-latest-changes-in-your-repo-for-a-linked-subproject-using-subtree-for-example-we-have-the-subproject-in-vendor-directory)
|
* [Get latest changes in your repo for a linked project using subtree](https://github.com/git-tips/tips#get-latest-changes-in-your-repo-for-a-linked-project-using-subtree)
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end toc -->
|
<!-- @doxie.inject end toc -->
|
||||||
@ -409,14 +409,14 @@ gitk --all
|
|||||||
git subtree push --prefix subfolder_name origin gh-pages
|
git subtree push --prefix subfolder_name origin gh-pages
|
||||||
```
|
```
|
||||||
|
|
||||||
## Adding a project to repo using subtree. For example we are adding in vendor directory
|
## Adding a project to repo using subtree
|
||||||
```sh
|
```sh
|
||||||
git subtree add --prefix=vendor/<project_name> --squash git@github.com:<username>/<project_name>.git master
|
git subtree add --prefix=<directory_name>/<project_name> --squash git@github.com:<username>/<project_name>.git master
|
||||||
```
|
```
|
||||||
|
|
||||||
## Get latest changes in your repo for a linked subproject using subtree. For example we have the subproject in vendor directory
|
## Get latest changes in your repo for a linked project using subtree
|
||||||
```sh
|
```sh
|
||||||
git subtree pull --prefix=vendor/<project_name> --squash git@github.com:<username>/<project_name>.git master
|
git subtree pull --prefix=<directory_name>/<project_name> --squash git@github.com:<username>/<project_name>.git master
|
||||||
```
|
```
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
|
@ -229,11 +229,11 @@
|
|||||||
"alternatives": "git subtree push --prefix subfolder_name origin branch_name"
|
"alternatives": "git subtree push --prefix subfolder_name origin branch_name"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "Adding a project to repo using subtree. For example we are adding in vendor directory",
|
"title": "Adding a project to repo using subtree",
|
||||||
"tip": "git subtree add --prefix=vendor/<project_name> --squash git@github.com:<username>/<project_name>.git master"
|
"tip": "git subtree add --prefix=<directory_name>/<project_name> --squash git@github.com:<username>/<project_name>.git master"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "Get latest changes in your repo for a linked subproject using subtree. For example we have the subproject in vendor directory",
|
"title": "Get latest changes in your repo for a linked project using subtree",
|
||||||
"tip": "git subtree pull --prefix=vendor/<project_name> --squash git@github.com:<username>/<project_name>.git master"
|
"tip": "git subtree pull --prefix=<directory_name>/<project_name> --squash git@github.com:<username>/<project_name>.git master"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user