https://cdn.rawgit.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/856f1dbb8d807aabceb80b6d4f94b464df461b3e/gotham.css
<link rel="https://cdn.rawgit.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/856f1dbb8d807aabceb80b6d4f94b464df461b3e/gotham.css">
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
| // On PhpStorm, when ussing with laravel mix, for Alias path resolving in components you have to: | |
| // - create a webpack.config.js file separately like: | |
| const path = require('path') | |
| const webpack = require('webpack') | |
| module.exports = { | |
| ... | |
| resolve: { | |
| extensions: ['.js', '.json', '.vue'], |
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
| const { join } = require('path'); | |
| const { readdirSync, renameSync } = require('fs'); | |
| const [dir, search, replace] = process.argv.slice(2); | |
| const match = RegExp(search, 'g'); | |
| const files = readdirSync(dir); | |
| files | |
| .filter(file => file.match(match)) | |
| .forEach(file => { | |
| const filePath = join(dir, file); |
$ git checkout --orphan NEWBRANCH
$ git rm -rf .
--orphan creates a new branch, but it starts without any commit. After running the above command you are on a new branch "NEWBRANCH", and the first commit you create from this state will start a new history without any ancestry.
You can then start adding files and commit them and they will live in their own branch. If you take a look at the log, you will see that it is isolated from the original log.