Start Menu -> Ubuntu:
cdto desired source code directory (e.g. from Windows Host:%USERPROFILE%\source\repos).git clone https://github.com/collinbarrett/box-setup.git
Start Menu -> Ubuntu:
cdintobox-setup.git config user.name "Collin M. Barrett"git config user.email collinbarrett@users.noreply.github.com
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 collinbarrett@users.noreply.github.com
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 aliases in .gitconfig and ohmyzsh git plugin)
- Refresh all repos in current directory:
git all refresh - Rebase current feature branch on
origin/main:git resync