Skip to content

Instantly share code, notes, and snippets.

View bemaru's full-sized avatar
🐢
slow and steady wins the race

Jihoon Kwak bemaru

🐢
slow and steady wins the race
View GitHub Profile
@bemaru
bemaru / tags.sh
Created January 18, 2018 09:29 — forked from edsilv/tags.sh
git tags
#push tag
git push origin <tag_name>
#delete all remote tags
git tag -l | xargs -n 1 git push --delete origin
#delete all local tags
git tag | xargs git tag -d
@bemaru
bemaru / gist:c60ad6c8c0050e929611c6b52f2efd98
Created January 15, 2018 04:37
git clone all remote branches locally
#!/bin/bash
for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master `; do
git branch --track ${branch#remotes/origin/} $branch
done
#include <boost/log/common.hpp>
#include <boost/log/utility/setup/common_attributes.hpp>
#include <boost/log/sinks/text_ostream_backend.hpp>
#include <boost/log/utility/empty_deleter.hpp>
#include <boost/log/sinks.hpp>
#include <boost/log/expressions.hpp>
#include <boost/log/utility/record_ordering.hpp>
#include <boost/log/support/date_time.hpp>