Guest User

Untitled

a guest
Jun 21st, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. # Make sure you are in the repo directory
  2. cd <somewhere>
  3.  
  4. # Add the external repository as a submodule
  5. git submodule add <address_of_submodule_repo>
  6.  
  7. # Make sure to initialize it and update (when required)
  8. git submodule init
  9. git submodule update
  10.  
  11. # Check status, add everything (if needed), then commit
  12. git status
  13. git add .
  14. git commit -m "Added <submodule/library> as a git submodule."
Add Comment
Please, Sign In to add comment