Add a file to the git index (aka staging area).
Resolves successfully once the git index has been updated.
await fs.writeFile('/tutorial/README.md', '# TEST')await add({ fs, dir: '/tutorial', filepath: 'README.md' })
Generated using TypeDoc
Add a file to the git index (aka staging area).
Returns
Resolves successfully once the git index has been updated.
Example