This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class jobImpl{ | |
| // public | |
| constructor(name){ | |
| this.name = name; | |
| } | |
| // public | |
| do(time){ | |
| console.log(`${this.name} started at ${time}`); | |
| this.prepare(); | |
| this.execute(); |
- Go to https://git-scm.com download the installer and install it leaving everything by default (you can check that it was successful via windows console with the
git --versioncommand). - Run windows console via
cmdcommand and go to the project root folder (or run it from that folder). - Execute the
git initcommand (it will create the ".git" hidden folder inside your project folder). - Run the
git statuscommand to check that nothing has been added to Git yet. - To make some files (or folders) be tracked by Git run the
git add filename.fileextcommand (you can rungit statusafter to check whether the file has been added and ready to be commited). - Add to the project root folder a new file called
.gitignore. It should be a text file. Open it and write to it all files and folder (each one on a new line) you want to be ignored by Git. For example:node_modules/ - Add the
.gitignorefile
NewerOlder