User Tools

Site Tools


git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
git [2026/05/02 12:50] reddygit [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:
 </code> </code>
  
 +==== Merge between branches ====
  
 <code> <code>
Line 67: Line 71:
 # Add/Push/Pull # Add/Push/Pull
 git subtree add/pull/push --prefix child_1 /Users/nitin/Documents/practice/try_git_child_1 main git subtree add/pull/push --prefix child_1 /Users/nitin/Documents/practice/try_git_child_1 main
 +</code>
 +
 +==== Git Checkout Subdirectory ====
 +
 +<code>
 +git clone --no-checkout --depth=1 --filter=tree:0 https://github.com/pockettheories/somerepo.git
 +cd test-git-partial-clone-big-small-no-bigtree
 +git sparse-checkout set --no-cone /subdir1 /subdir2 /subdir3
 +git checkout
 </code> </code>
  
git.1777719044.txt.gz · Last modified: by reddy

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki