Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| documentation:retrieve-documentation [2011/10/20 15:48] – [Retrieve and create documentation] mike | documentation:retrieve-documentation [2026/10/07 22:30] (current) – Delete obsolete page kevinbowen | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~NOTRANS~~ | ||
| - | ====== Retrieve and create documentation ====== | ||
| - | |||
| - | Here you will find some examples to checkout a documentation, | ||
| - | |||
| - | Downloading the // | ||
| - | git clone git:// | ||
| - | git clone ssh://< | ||
| - | |||
| - | ===== Checkout a documentation ===== | ||
| - | |||
| - | Listing local branches: | ||
| - | git branch | ||
| - | |||
| - | Listing local and remote branches: | ||
| - | git branch -a | ||
| - | |||
| - | Checking out a branch for the first time: | ||
| - | git checkout -b < | ||
| - | |||
| - | Checking out a local branch: | ||
| - | git checkout < | ||
| - | |||
| - | ===== Create a new documentation ===== | ||
| - | |||
| - | Creating a new and empty branch: | ||
| - | git checkout --orphan < | ||
| - | |||
| - | Creating a new branch on top of a template: | ||
| - | git checkout -b < | ||
| - | git checkout -b < | ||
| - | |||
| - | Adding new files: | ||
| - | git add [files] | ||
| - | git commit -m" | ||
| - | git push | ||