I tried push to github and get this error : How can i fix it ?
error:

            Asked
            
        
        
            Active
            
        
            Viewed 3,648 times
        
    1 Answers
2
            
            
        I think it's just because your branch on the remote repo (on GitHub) has commits that you don't have locally.
It's written in the error message (hint:)
What you should try to do is to first get what you have on otn repo with a git pull and resolve conflicts (if there are any) to then do the push.
Look at this post to understand better ;)
 
    
    
        Tykok
        
- 51
- 5
