Posts

Showing posts from July, 2018

Resolving the "Authentication failed" Error with Git for Windows

Image
Today I tried to clone a repo with Git but received the error "fatal: Authentication failed for (URL)". I wasn't sure why I was getting this error when everything was working fine last week. Then I realized that I'd had to change my domain password yesterday, and my stored credentials needed to be updated. To do so, on Windows 10, right-click on the start button and select Control Panel . Then select Credential Manager . From there, select Windows Credentials  and find your Git URL under the Generic Credentials  section shown below. Click on the URL or the arrow to the right of it to view the information associated with it. Click Edit  to change your stored password. I hope this helps!

How to Create Multiple Apps in the Same Workspace in Angular 6

One of the most talked-about features in Angular 6 is support for multiple apps within the same workspace. Here's a quick how-to on how to do this. First, this assumes you're using the Angular CLI. When you create a new app using the CLI, it will actually create two  projects for you: one having the name you specified when you created the project, and another with "-e2e" appended to the name. This project is for end-to-end tests. These two projects will be listed in the angular.json  file under the projects  node. The code for the project you asked the CLI to create will be located in (app name)\src\app , and the code for the e2e project will be located in (app name)\e2e\src . But what if you want to add another  project? This is simple. Using the CLI, from within your project's root directory, execute ng generate application (name of your new app) . For example: ng generate application another-app This will do the following: Adds a new folder called