Advertisement
HexisNou

Git tips

Aug 12th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. git clone --single-branch --branch Robot git@bitbucket.org:moxteam/rd.git
  2.  
  3. git clone --single-branch --branch Robot https://loblaurentius@bitbucket.org/moxteam/rd.git
  4.  
  5. --depth <depth>
  6.  
  7. *****************************************
  8. --depth <depth>
  9.  
  10. Create a shallow clone with a history truncated to the specified number of commits. Implies --single-branch unless --no-single-branch is given to fetch the histories near the tips of all branches. If you want to clone submodules shallowly, also pass --shallow-submodules.
  11. ******************************************
  12.  
  13.  
  14.  
  15. https://www.git-scm.com/docs/git-clone
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement