meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| git:start [2020/06/03 11:19] – niziak | git:start [2025/08/05 16:16] (current) – niziak | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ====== Preparation ====== | ====== Preparation ====== | ||
| + | |||
| + | ===== bash completion ===== | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | Package '' | ||
| + | < | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | <file bash ~/ | ||
| + | . / | ||
| + | . / | ||
| + | |||
| + | if [ " | ||
| + | # | ||
| + | PS1=' | ||
| + | else | ||
| + | # | ||
| + | PS1=' | ||
| + | fi | ||
| + | </ | ||
| + | |||
| + | |||
| === git-email === | === git-email === | ||
| Line 9: | Line 35: | ||
| git config sendemail.suppressfrom true | git config sendemail.suppressfrom true | ||
| </ | </ | ||
| + | |||
| + | === replace github' | ||
| + | NOTE: Github was disabled git protocol. So only '' | ||
| + | |||
| + | <code bash> | ||
| + | git config --global url.https:// | ||
| + | # or | ||
| + | git config --global url.https:// | ||
| + | </ | ||
| + | |||
| + | Keywords: git protocol, '' | ||
| === replace github https links === | === replace github https links === | ||
| <code bash>git config --global url.git@github.com: | <code bash>git config --global url.git@github.com: | ||
| + | |||
| + | |||
| + | === replace own links and points to github === | ||
| + | <code bash> | ||
| + | # Remove replacement: | ||
| + | git config --unset url." | ||
| + | |||
| + | # Add replacement: | ||
| + | git config url." | ||
| + | </ | ||
| ====== Import HG (mercurial) repo ====== | ====== Import HG (mercurial) repo ====== | ||
| Line 63: | Line 110: | ||
| ====== Debug ====== | ====== Debug ====== | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| <code bash> | <code bash> | ||
| GIT_TRACE=1 git clone ... | GIT_TRACE=1 git clone ... | ||
| GIT_CURL_VERBOSE=1 GIT_TRACE=1 git clone ... | GIT_CURL_VERBOSE=1 GIT_TRACE=1 git clone ... | ||
| + | GIT_TRACE_PACKET=1 GIT_TRACE=2 GIT_CURL_VERBOSE=1 git clone https://... | ||
| + | |||
| + | GIT_SSH_COMMAND=" | ||
| </ | </ | ||