terminal - Ruby on rails, change code -


i built ruby on rails application, friend, had delete code because made giant mistake, downloaded code friend application did not work. have redo of routes in terminal. if so, possible of code being complete, , not doing step step?

you either check git log sha you're interested in, , git checkout <sha>, or git reset --soft head^^ if want preserve changes on staging (assuming need go 2 commits ^ correspond how many commits need go back).


Comments

Popular posts from this blog

Using 'OR' and 'AND' in SQL Server -

python - Finding intersection between ellipse and a line -

c++ - NetBeans Remote Development with additional configuration -