3 ms·
People with workflows like `git add .; git commit -m 'fix'` can push wondrous things to public repos.
by tazjin 1y ago
People with workflows like `git add .; git commit -m 'fix'` can push wondrous things to public repos.
- SilverBirch 1y agoOnly if you're raw dogging git from your home directory...
- everforward 1y agoYou would have to have a git repo in .ssh or higher up the tree for that to work. Otherwise you’d get one of the “directory is not a repo” messages.
- _ea1k 1y agoIt isn't that uncommon to sync a home dir with git: https://askubuntu.com/questions/1316229/is-it-bad-practice-to-git-init-in-the-home-directory-to-keep-track-of-dot-files https://askubuntu.com/questions/1316229/is-it-bad-practice-t... I'd guess that most of us wouldn't do it by just "git init" in the home directory. There are many safer ways than that. But we were all newbs once, and often even the newbs have access to various keys and credentials.