Git - comflict solving

Some common usage of git with SourceTree

-> pull to local

pull to local
 - if no conflict -> pull successfully
 - if has conflict 
   option 1. commit to local repo -> stash changes  -> pull
   option 2. prof read 

-> push to remote

If already commit, but don't want to push the code to the remote. :) Simple delete ur local repo, and clone again.

Comments

Popular posts from this blog

Getting started with OpenShift