git cloneのブランチ指定とSQL集約とline_profiler(バラバラ)

git cloneのブランチ指定

$ git clone -b ブランチ名 https://リポジトリのアドレス
$ git commit -a -m "任意のコメント"  //コミット (-aオプションは変更を自動検出してくれる)
$ git branch //今いるブランチを確認
$ git checkout ブランチ名
*ブランチ名
 master
$ git push origin ブランチ名

また、SQL文にて集約した後に条件であぶり出す方法。

SELECT t1.col1, COUNT(*)
FROM table名 t1
GROUP BY t1.col1
HAVING COUNT(*) > 1

あと、下で調査するとpythonのline_profilerを利用できる。
python-develがない場合

$ yum list installed | grep python

$ sudo yum install -y python-devel

$ pip install line_profiler

dev.classmethod.jp