Commandline: Force Git branch sync for .bash_profile

I have been having issues forcing Git to reset hard — so I created this addition to .bash_profile to make it possible for me to go

$ force <git-branch-name>

function forcegit {
git reset — hard origin/${1}
alias force=”forcegit $1"




Electronic music composer, free-energy archivist/librarian. Some form of thinker.