Reset or delete the local changes and pull latest git


This command reset local changes and remove the files in local changes and pulls the latest code from git.Please add branch name in pull command.

Command:

git reset –hard

git clean -fxd

git pull origin /* your Branch */

About

myself pramodh kumar yet another php developer from India and have worked on oops,procedural,yii framework,codeigniter,wordpress,joomla,api and more.

Tagged with: , , , ,
Posted in Practice Makes a beginner to become php programmer expert(practical task to become php programmer)

Leave a comment

Follow Tutorial on WordPress.com
categories
Calendar
January 2019
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  
Follow me on Twitter
Blog Stats
  • 88,191 hits