In Git you can add a submodule to a repository. This is basically a sub-repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:
- Separate big codebases into multiple repositories.
| 0-mail.com | |
| 0815.ru | |
| 0845.ru | |
| 0clickemail.com | |
| 0wnd.net | |
| 0wnd.org | |
| 10minutemail.com | |
| 10minutemail.net | |
| 12houremail.com | |
| 12minutemail.com |
| gitprompt() { | |
| export GIT_PS1_SHOWDIRTYSTATE=true | |
| export GIT_PS1_SHOWSTASHSTATE=true | |
| export GIT_PS1_SHOWUNTRACKEDFILES=true | |
| export GIT_PS1_SHOWUPSTREAM="auto" | |
| export GIT_PS1_SHOWCOLORHINTS=true | |
| export PROMPT_COMMAND='__git_ps1 "\u@\h:\w" "\\\$ "' | |
| . /usr/lib/git-core/git-sh-prompt |
| alias npmbin='echo -e "Setting up npmbin with path:\n$(npm bin)"; export PATH=$(npm bin):$PATH' |
| #!/bin/sh | |
| # MIT No Attribution | |
| # | |
| # Copyright 2020 Ben Kehoe | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy of this | |
| # software and associated documentation files (the "Software"), to deal in the Software | |
| # without restriction, including without limitation the rights to use, copy, modify, | |
| # merge, publish, distribute, sublicense, and/or sell copies of the Software, and to |