commit to master from different comuter #22605
-
Im not sure what they keywords for this would be. I have an existing repo and i downloaded the code(onto a new machine) to edit but now i want to commit again. In retrospect i probably should have used the clone ability but hindsight is 20-20. What kind of setup do i need to connect my local directory in order to commit? Or should I just delete the repo and create a new one? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
You have to clone the repo if you want to commit in a different pc |
Beta Was this translation helpful? Give feedback.
-
Since you already downloaded it, then made changes you can also try cloning it to a different directory, then paste in your changes. |
Beta Was this translation helpful? Give feedback.
-
#AnnoyingSecurityFeatures |
Beta Was this translation helpful? Give feedback.
-
@end3ryt this isn’t a security feature. In the original situation, the OP simply downloaded the repository ZIP without the .git folder. This way you just have the latest files, and no data on history, branches, tags, remotes, etc… Git will then just be unable to perform actions - it has nothing to do with security. |
Beta Was this translation helpful? Give feedback.
You have to clone the repo if you want to commit in a different pc