Git Features
May or may not be useful for people, but they speed things up a lot for me.
function feature {
git checkout -b feature/1ドル
}
function features {
git branch --list | grep feature/
}
function feature-sync {
git checkout feature/1ドル &&
git pull origin feature/1ドル &&
git push origin feature/1ドル;
}
function feature-merge {
git checkout feature/1ドル &&
git pull origin feature/1ドル &&
git checkout master &&
git pull origin master &&
git merge feature/1ドル &&
git branch -d feature/1ドル;
}
Written by Scott Robertson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#