No, sir. Sorry for that, will try to explain better. You do this once:
If you do clone, pull, push inside this repo, you will use WORK account automatically (no need to switch or any other things, just git pull/clone/push
git pull/clone/push
If you clone/push/pull outside this repo - it will use PERSONAL account
So you dont need to modify gitconfig for every working repo. as long as you have ~/path/work_dir/repo1 ~/path/work_dir/repo2 ~/path/work_dir/repo3
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
No, sir. Sorry for that, will try to explain better.
You do this once:
If you do clone, pull, push inside this repo, you will use WORK account automatically (no need to switch or any other things, just
git pull/clone/push
If you clone/push/pull outside this repo - it will use PERSONAL account
So you dont need to modify gitconfig for every working repo. as long as you have
~/path/work_dir/repo1
~/path/work_dir/repo2
~/path/work_dir/repo3