Git - git pull dont give the expected result -


i working on repo , did local commits , want git pull origin develop whithout change .. should please ?

you can

git log 

for check commit history. there find commits. take commit number before local changes. do

git checkout -f {commit number} 

then initial state (before make local changes). do

git pull origin develop 

the develop branch update then. , think expected result.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -