brew cask install caskroom/versions/java8
This would prompt you for the root password during installation.
brew cask install caskroom/versions/java8
git clone https://github.com/<handle>/<repository>.git
cd <approot>
npm install
git status
git branch packagejsonbranch
git checkout packagejsonbranch
git status
modified: package-lock.json
git add .
git commit -m "Package-Lock.json modification"
git remote add origin https://github.com/<handle>/<repository>.git
fatal: remote origin already exists.
git push --u origin
packagejsonbranch
git checkout master
git branch -d
packagejsonbranch
git pull origin master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
ng update @angular/cli @angular/core
git remote add origin https://github.com/[yourhandle]/tourofheroes-app.git
git push origin master
npm install -g @angular/cli
npm install -g angular-cli@latest
This would install the latest version which could be beta of the older angular-cli and not @angular/cli. ng version
git config --global credential.helper osxkeychain
$ git push origin master
remote:
Invalid username or password.
fatal: Authentication failed for 'https://github.com/[yourhandle]/[yourrepository].git/'
$ git config --global credential.helper osxkeychain
$ git push origin master
Username for 'https://github.com': [yourhandle]
Password for 'https://[yourhandle]@github.com':