kblincoe / VisualGit_SE701_2019_1

1 stars 0 forks source link

Creates #253 - jalc504 Add commands for initialising a new local repo #261

Closed Jess-Alcantara closed 5 years ago

Jess-Alcantara commented 5 years ago

Related Issue/Keyword:

253

Description:

Adding commands for initialising a new local repository. I investigated the code and it initialises the local repository, adds a gitignore, and then commits so I added these commands to the command panel.

Testing:

Steps for manual testing:

  1. Login to VisualGit
  2. Click the "Create new repo" tab
  3. Choose a directory for the repo to initialise in
  4. Click "Init Repo"
  5. Observe the commands in the command panel: git init, git add .gitignore, git commit

Checklist:

rmberriman commented 5 years ago

Running npm run lint two files were changed: repo.ts and git.ts. The changes in repo.ts are not within the scope of your changes - but should the linter be run before pushing to master?

rmberriman commented 5 years ago

Running npm run lint two files were changed: repo.ts and git.ts. The changes in repo.ts are not within the scope of your changes - but should the linter be run before pushing to master?

Resolved by PR 258