docs: always use https to clone #2

merged
opened by a.starrysky.fyi targeting main from private/minion/push-wousukrwqsyz

Josh doesn't seem to be working correctly with cloning over SSH, but we know it works for pushing. Therefore, we should mention git's support for having a different push URL and recommend always cloning over HTTPS

Changed files
+6 -4
+6 -4
README.md
··· 36 36 ForwardAgent yes 37 37 ``` 38 38 39 - When you've added this section to your ssh config, you can clone over SSH. 40 - Except for when creating branches, pushing will work as-normal for SSH clones. 39 + When you've added this section to your ssh config, you can add a custom push URL 40 + to use SSH. 41 41 42 42 ```bash 43 - git clone ssh://git@git.freshlybakedca.ke/patisserie.git:/packetmix.git 44 - # Swap out "packetmix" at the end of the URL for whatever project you want to clone 43 + git remote set-url --push ssh://git@git.freshlybakedca.ke/patisserie.git:/packetmix.git 44 + # Swap out "packetmix" at the end of the URL for whatever project you have cloned 45 45 ``` 46 46 47 + Except for when creating branches, pushing will work as-normal for SSH clones. 48 + 47 49 ### Creating new branches 48 50 49 51 When pushing to *josh*, creating branches won't work on a regular `git push`.