howto:github
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:github [2020/12/16 22:14] – Wulf Rajek | howto:github [2023/05/29 11:55] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 80: | Line 80: | ||
</ | </ | ||
- | ==== Rebase with fork master ==== | + | ===== Rebase with fork master |
Example fork of repo mainuser/ | Example fork of repo mainuser/ | ||
< | < | ||
Line 94: | Line 94: | ||
</ | </ | ||
- | ==== Change last commit message ==== | + | ===== Change last commit message |
< | < | ||
Line 101: | Line 101: | ||
</ | </ | ||
+ | ===== Git Credentials ===== | ||
+ | |||
+ | < | ||
+ | then: | ||
+ | < | ||
+ | git push http:// | ||
+ | Username: <type your username> | ||
+ | Password: <type your password> | ||
+ | |||
+ | [several days later] | ||
+ | git push http:// | ||
+ | [your credentials are used automatically] | ||
+ | </ | ||
+ | |||
+ | Passwords stored in plain text, each on their own line in URL format: | ||
+ | <code ~/ | ||
+ | https:// | ||
+ | </ | ||
+ | |||
+ | ===== Forceful undo last commit ===== | ||
+ | < | ||
+ | git reset --hard HEAD^ | ||
+ | git push origin -f | ||
+ | </ |
howto/github.1608156879.txt.gz · Last modified: 2023/05/29 11:53 (external edit)