Start Menu -> Ubuntu:
cd
to desired source code directory (e.g. from Windows Host:%USERPROFILE%\source\repos
).git clone https://github.com/collinbarrett/box-setup.git
Start Menu -> Ubuntu:
cd
intobox-setup
.git config user.name "Collin M. Barrett"
git config user.email [email protected]
TODO: path-based git user config for work/personal repos: https://stackoverflow.com/a/43884702/2343739
Start Menu -> Ubuntu:
git config --global user.name "Collin M. Barrett"
git config --global user.email [email protected]
via git Docs
Insecure. Once enabled, on first push to any remote, a password is required and then stored permanently in plain text at ~/.git-credentials
.
Start Menu -> Ubuntu:
git config --global credential.helper store
(depends on alias
es in .gitconfig
and ohmyzsh git plugin)
- Refresh all repos in current directory:
git all refresh
- Rebase current feature branch on
origin/main
:git resync