Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 2
Message 1 of 5

commit to master from different comuter

Solved! Go to Solution.

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?

4 Replies
Highlighted
Solution
Commander Lvl 2
Message 2 of 5

Re: commit to master from different comuter

You have to clone the repo if you want to commit in a different pc

Highlighted
Pilot Lvl 1
Message 3 of 5

Re: commit to master from different comuter

#AnnoyingSecurityFeatures

Highlighted
Commander Lvl 3
Message 4 of 5

Re: commit to master from different comuter

@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.


- Mark
Highlighted
Commander Lvl 3
Message 5 of 5

Re: commit to master from different comuter

Since you already downloaded it, then made changes you can also try cloning it to a different directory, then paste in your changes.


- Mark