Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
development:git [2020/03/19 13:00] kalenpw removed |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Git ====== | ||
- | |||
- | |||
- | ---- | ||
- | ===== Branches and Merging ===== | ||
- | - '' | ||
- | - make your changes in development branch | ||
- | - '' | ||
- | - '' | ||
- | - '' | ||
- | - when ready to merge, still on dev branch | ||
- | - '' | ||
- | - '' | ||
- | - '' | ||
- | - '' | ||
- | |||
- | ---- | ||
- | ===== Multi line commit ===== | ||
- | <code bash> | ||
- | git commit -m "Line one" -m "line two" -m " | ||
- | </ | ||
- | |||
- | ---- | ||
- | ===== push to repo other than origin ===== | ||
- | <code bash> | ||
- | git push --no-verify --mirror git@github.com: | ||
- | </ | ||
- | |||
- | ---- | ||
- | ===== Change Origin ===== | ||
- | <code bash> | ||
- | # useful for when repo is set to use https | ||
- | git remote set-url origin git@github.com: | ||
- | </ |