git branch --set-upstream-to <remote-branch>
# example
git branch --set-upstream-to origin feature-branch
# show up which remote branch a local branch is tracking
git branch -vvsets the default remote branch for the current local branch.
| document.cookie.match(/(^|;\s*)sid=(.+?);/)[2]; |
| <code_scheme name="Airbnb"> | |
| <option name="RIGHT_MARGIN" value="100" /> | |
| <option name="HTML_ATTRIBUTE_WRAP" value="4" /> | |
| <option name="HTML_ELEMENTS_TO_INSERT_NEW_LINE_BEFORE" value="" /> | |
| <option name="HTML_ENFORCE_QUOTES" value="true" /> | |
| <DBN-PSQL> | |
| <case-options enabled="false"> | |
| <option name="KEYWORD_CASE" value="lower" /> | |
| <option name="FUNCTION_CASE" value="lower" /> | |
| <option name="PARAMETER_CASE" value="lower" /> |
git branch --set-upstream-to <remote-branch>
# example
git branch --set-upstream-to origin feature-branch
# show up which remote branch a local branch is tracking
git branch -vvsets the default remote branch for the current local branch.