Force Git to Overwrite files

Force Git to Overwrite files

Daniel Santos Neto

2 years
2,619 Views
Share Donation Report 0 0
Category:
Description:
Some users some times change a file, and can not do a git pull command, usually they get this error:

... Please, commit your changes or stash them before you can merge. Aborting
the solution is to force to overwrite your files, you can do this command.

git fetch --all && git reset --hard origin/master

Comments:

Comment
Up Next Autoplay
Configure Stripe
Configure Stripe
Category: Default
81 Views
Daniel Santos Neto 2 weeks
Servidor de películas Tipo YouTube
Servidor de películas Tipo YouTube
Category: Default
269 Views
Daniel Santos Neto 2 months
PRESENTATION DE YOUPHPTUBE - LE CLONE DE YOUTUBE
PRESENTATION DE YOUPHPTUBE - LE CLONE DE YOUTUBE
Category: Default
173 Views
Daniel Santos Neto 2 months
YouPHPTube   Uploader une video
YouPHPTube Uploader une video
Category: Default
165 Views
Daniel Santos Neto 2 months
Crie sua própria NETFLIX com PHP e MySQL - [Dev Full Stack] - TekZoom
Crie sua própria NETFLIX com PHP e MySQL - [Dev Full Stack] - TekZoom
Category: Default
282 Views
Daniel Santos Neto 2 months
Installing and configuring the Video Thumbnails plugin
Installing and configuring the Video Thumbnails plugin
Category: Default
787 Views
Daniel Santos Neto 6 months
Installing and configuring the Customize plugin
Installing and configuring the Customize plugin
Category: Default
417 Views
Daniel Santos Neto 6 months
Installing and configuring the Notifications plugin
Installing and configuring the Notifications plugin
Category: Default
385 Views
Daniel Santos Neto 6 months
Install, configuring, and using the Backup plugin
Install, configuring, and using the Backup plugin
Category: Default
282 Views
Daniel Santos Neto 6 months
Installing and configuring the Live Users plugin
Installing and configuring the Live Users plugin
Category: Default
310 Views
Daniel Santos Neto 6 months