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

c# - Class in a list -

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

Jdbc Odbc Driver error -