Common Git Commands:-
//screw all the local commits and set to the origin branch
How do I reset my local branch to be just like the branch on the remote repository?
git fetch origin
git reset --hard origin/master
git branch -vv | sls "\[.*: gone\]" | % { git branch -D ($_.Line.Trim() -split '\s+')[0] }
No comments:
Post a Comment