Skip to content

Instantly share code, notes, and snippets.

View coderbit-net's full-sized avatar

Oleksandr Yushchak coderbit-net

View GitHub Profile
<header>
<h1>Lux Map Prototype</h1>
</header>
<main class="container ">
<div class="row justify-content-md-center">
<div class="col col-8">
<div id="map"></div>
</div>
<div class="col col-4">
@coderbit-net
coderbit-net / how-to-squash-commits-in-git.md
Created December 24, 2017 19:42 — forked from patik/how-to-squash-commits-in-git.md
How to squash commits in git

Squashing Git Commits

The easy and flexible way

This method avoids merge conflicts if you have periodically pulled master into your branch. It also gives you the opportunity to squash into more than 1 commit, or to re-arrange your code into completely different commits (e.g. if you ended up working on three different features but the commits were not consecutive).

Note: You cannot use this method if you intend to open a pull request to merge your feature branch. This method requires committing directly to master.

Switch to the master branch and make sure you are up to date:

gulp.task('static', function() {
return gulp.src('src/static/**')
.pipe(gulp.dest('build'));
});