Friday, October 13, 2023

git reset --hard origin/master

Procedure for Pulling from Master Repo when you are not able to get a Clean Pull.

Right Click on Repo > Open in Terminal > git reset --hard origin/master


Then as shown below enter git reset --hard origin/master

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

PS C:\!_projects\Present Power\!_Parts_PPS\lib_altium> git reset --hard origin/master

HEAD is now at 85478f5 rclemmons Changed press fit hole size from 8.2mm to 8.0mm

PS C:\!_projects\Present Power\!_Parts_PPS\lib_altium>

No comments: