Skip to content

Instantly share code, notes, and snippets.

View carloshhr's full-sized avatar

Carlos Hernandez carloshhr

  • Buenos Aires, Argentina
View GitHub Profile
@carloshhr
carloshhr / Git got to previous commit on a branch
Last active March 15, 2018 13:30
Git command if you push a commit to a branch and you want to come back to previous commits
If you have a branch like this
Master
7243798 M
60789fc M
4c629bb M
And you push 6bbw138 commit by mistake to Master your result will be:
Master
6bbw138
7243798 M
@carloshhr
carloshhr / webpack.mix.js
Created January 20, 2018 20:21
Browser Sync configuration on Laravel Mix 5.5
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css')
.browserSync({
proxy: {
target: "www.mygreatsitewillmakemerich.local"
},
files: [
'app/**/*',
'public/**/*',
'resources/views/**/*',