git
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| git [2026/05/02 12:48] – reddy | git [2026/05/02 20:13] (current) – reddy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | |||
| + | ==== Git Remote Server ==== | ||
| + | |||
| Setting up a git server is as easy as this... | Setting up a git server is as easy as this... | ||
| Line 23: | Line 26: | ||
| </ | </ | ||
| + | ==== Merge between branches ==== | ||
| < | < | ||
| Line 57: | Line 61: | ||
| # When someone wants to clone the parent repo | # When someone wants to clone the parent repo | ||
| - | git clone --recurse-submodules / | + | git -c protocol.file.allow=always |
| </ | </ | ||
| Line 67: | Line 71: | ||
| # Add/ | # Add/ | ||
| git subtree add/ | git subtree add/ | ||
| + | </ | ||
| + | |||
| + | ==== Git Checkout Subdirectory ==== | ||
| + | |||
| + | < | ||
| + | git clone --no-checkout --depth=1 --filter=tree: | ||
| + | cd test-git-partial-clone-big-small-no-bigtree | ||
| + | git sparse-checkout set --no-cone /subdir1 /subdir2 /subdir3 | ||
| + | git checkout | ||
| </ | </ | ||
git.1777718912.txt.gz · Last modified: by reddy
