Git Note
Github commant note
Branch
# delete branch locally
git branch -d localBranchName
# delete branch remotely
git push origin --delete remoteBranchName
Push remote
# create a new branch
git checkout -b new_branch
# push into remote repository
git push -u origin the_branch
Change remote url
# this is for checking
git remote -v
# can set up using this line
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Test jekyll locally
bundle exec jekyll serve
– Link