We should have at least three files: 'Widget.svelte', 'rollup.config.js' and 'package.json':
- Our widget
Widget.svelte:
<script>
export let name;
</script>
<h1>Hello {name}!</h1>We should have at least three files: 'Widget.svelte', 'rollup.config.js' and 'package.json':
Widget.svelte:<script>
export let name;
</script>
<h1>Hello {name}!</h1>| [command] | |
| git ls-files -ci --exclude-standard | |
| git ls-files -ci --exclude-standard -z | xargs -0 git rm --cached | |
| [summary] | |
| After editing .gitignore to match the ignored files, you can do | |
| git ls-files -ci --exclude-standard | |
| to see the files that are included in the exclude lists | |
| You can then do | |
| git ls-files -ci --exclude-standard -z | xargs -0 git rm --cached |