Repository navigation
Can I edit the files in the repo the program clones? #153
|
If I sync a repo, can I change it directly and push it to the remote? Or must I clone the repo to another folder and then make changes to it? |
Answered by
AkashRajpurohit
Feb 25, 2026
Replies: 1 comment
|
If you go with default option, those are bare clone instead of normal full clones, so short answer, no, not directly. Read more about it here: https://git-scm.com/docs/git-clone#_examples |
0 replies
Answer selected by
lwb-2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you go with default option, those are bare clone instead of normal full clones, so short answer, no, not directly.
But you can setup a full clone from the local bare clones and push it to remote from that.
Read more about it here: https://git-scm.com/docs/git-clone#_examples