So basically I'm using software from GitHub that I cloned a few days ago. Didn't do anything else. Just cloned it. So I was wondering how I could update the clone since a new version of the code has been released. Thank you!
            Asked
            
        
        
            Active
            
        
            Viewed 149 times
        
    -1
            
            
        - 
                    Does this answer your question? [How to update a git clone --mirror?](https://stackoverflow.com/questions/6150188/how-to-update-a-git-clone-mirror) – frozen Aug 11 '20 at 22:23
- 
                    Not really! Thank you though. – TheMartian32 Aug 11 '20 at 22:39
- 
                    Why does that link not answer your question? – grg Aug 11 '20 at 22:46
- 
                    Because its not really as in depth as I need it to be. – TheMartian32 Aug 11 '20 at 23:19
1 Answers
0
            The command git pull is what you're looking for. It fetches changes from the repository on GitHub, called the remote, and merges them in to your local branch.
 
    
    
        Oliver Dunk
        
- 484
- 5
- 12
- 
                    Thanks! How would I do this though? Its giving me an error saying that its not a git repo. – TheMartian32 Aug 11 '20 at 22:36
- 
                    @TheMartian32 Are you definitely running this inside the cloned folder? You need to be there so you're inside the repository. – Oliver Dunk Aug 11 '20 at 22:39
- 
                    
- 
                    @The When you cloned the repo Git created a folder to put the contents in. You need to `cd` into that folder where the contents of the repository is to be able to run Git commands on that repository. – grg Aug 11 '20 at 22:47
- 
                    
