Sunday, May 27, 2018

Git – merging conflicts

git commit -am <message>       # add & commit your local changes
git pull origin master         # pull the latest codes
git status                     # see the files that have conflicted (untracked files)

# If you want to keep your changes then
git checkout . --ours

# Or, if you want to keep remote changes
git checkout . --theirs
git commit -am <message>           # add & commit with a new message
git push origin master             # push to remote  

source: https://stackoverflow.com/a/40800624/260238

Angular (First Blood) Resources


https://cli.angular.io/ – Angular CLI

https://update.angular.io/ – a wizard for upgrading Angular Versions

https://material.angularjs.org – Angular Material (also a nice guide here: https://medium.com/@tomastrajan/the-complete-guide-to-angular-material-themes-4d165a9d24d1)