Migration from Intel Mac to M1 Mac: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 5: Line 5:


Upgrade Git command<ref>[https://apple.stackexchange.com/questions/433751/git-not-working-on-m1-chip-after-migration terminal - Git not working on M1 chip after migration - Ask Different]</ref>
Upgrade Git command<ref>[https://apple.stackexchange.com/questions/433751/git-not-working-on-m1-chip-after-migration terminal - Git not working on M1 chip after migration - Ask Different]</ref>
* {{kbd | key=which git}}
* {{kbd | key=which git}} to find the location where git was installed
* (optional) {{kbd | key=brew uninstall git}}
* (optional) {{kbd | key=brew install git}}
* {{kbd | key=/usr/local/bin/git --version}} to verify the path is working
* {{kbd | key=/usr/local/bin/git --version}} to verify the path is working
* {{kbd | key=vi ~/.zshrc}} and add this line {{kbd | key=<nowiki>alias git='/usr/local/bin/git'</nowiki>}}
* {{kbd | key=vi ~/.zshrc}} and add this line {{kbd | key=<nowiki>alias git='/usr/local/bin/git'</nowiki>}}
Anonymous user

Navigation menu