This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add a library | |
$ git remote add -f lib/[libname] [lib-remote-URL] # Add the lib remote and fetch | |
$ git read-tree --prefix=lib/[libname]/ -u lib/[libname]/master # Import the library files | |
$ git commit -m "Add [libname] library." # Commit the added library | |
$ git push # We're done ! | |
# Update to the latest version of a library | |
$ git pull -s subtree --squash --no-commit lib/[libname] master # Update files of the library |
NewerOlder