分类工具下的文章
JWT在web端的使用方法
给已经存在的项目添加git
mkdir laravel
cd laravel
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/hijs/laravel.git
git push -u origin master
前提:先去gitlab或github网站上创建一个新项目,完毕后记得添加.gitignore;
fatal: Not a gitflow-enabled repo yet. Please run "git flow init" first.
Did not have a develop branch created. Created one and it solved my problem.
phpstorm用正则删除PHP代码空行小技巧
有很多小伙伴会遇到代码空行特别多,但是一行一行删除肯定很烦躁,这时候就需要用到批量删除空行。
怎么批量删除空行呢?
我的办法是用正则把所有空行找到,然后一键全部替换。
首先把Match Case和Regex打上勾
第一个搜索框就填写正则规则:^\n