Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
git [2020/03/17 09:22] – tmaier | git [2020/12/29 02:09] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 11: | Line 11: | ||
</ | </ | ||
- | ===== Headline | + | ===== Credential Helper for HTTPS Upstreams |
- Go to the Git repository folder | - Go to the Git repository folder | ||
- '' | - '' | ||
- Credentials are stored when the user logs in the next time | - Credentials are stored when the user logs in the next time | ||
+ | |||
+ | ===== Submodules ===== | ||
+ | ==== Add submodule ==== | ||
+ | < | ||
+ | git clone git@github.com: | ||
+ | cd submodule-main | ||
+ | git submodule add git@github.com: | ||
+ | git submodule add git@github.com: | ||
+ | git add . | ||
+ | git ci -m "Added submodules" | ||
+ | </ | ||
+ | |||
+ | ==== Update submodule to latest commit on branch ==== | ||
+ | < | ||
+ | cd submodule-main | ||
+ | cd submodule-test1 | ||
+ | git pull | ||
+ | cd ../ | ||
+ | git add . | ||
+ | git ci -m " | ||
+ | git push | ||
+ | </ | ||
+ | |||
+ | ==== Clone repository recursively ==== | ||
+ | < | ||
+ | git clone --recurse-submodules git@github.com: | ||
+ | </ |