Force Git to Overwrite files

Force Git to Overwrite files

Daniel Santos Neto

1 year
2,475 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
Installing and configuring the Video Thumbnails plugin
Installing and configuring the Video Thumbnails plugin
Category: Default
550 Views
Daniel Santos Neto 3 months
Installing and configuring the Customize plugin
Installing and configuring the Customize plugin
Category: Default
284 Views
Daniel Santos Neto 3 months
Installing and configuring the Notifications plugin
Installing and configuring the Notifications plugin
Category: Default
255 Views
Daniel Santos Neto 3 months
Install, configuring, and using the Backup plugin
Install, configuring, and using the Backup plugin
Category: Default
171 Views
Daniel Santos Neto 3 months
Installing and configuring the Live Users plugin
Installing and configuring the Live Users plugin
Category: Default
159 Views
Daniel Santos Neto 3 months
Install and configuring the Backblaze B2 plugin
Install and configuring the Backblaze B2 plugin
Category: Default
114 Views
Daniel Santos Neto 3 months
Install and configure Video Resolution Switcher plugin
Install and configure Video Resolution Switcher plugin
Category: Default
92 Views
Daniel Santos Neto 3 months
Install and configure SendRecordedToEncoder
Install and configure SendRecordedToEncoder
Category: Default
117 Views
Daniel Santos Neto 3 months
Installing the Video HLS plugin (beta)
Installing the Video HLS plugin (beta)
Category: Default
159 Views
Daniel Santos Neto 3 months
Learning about YouPHPTube plugins
Learning about YouPHPTube plugins
Category: Default
232 Views
Daniel Santos Neto 3 months