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 -

mysql - Django database model for my website -

ios - How to run a segue on itself OR another viewController -