git-tips-and-tricks

Tip and tricks and common command Git

Config git username and email

$ git config --global user.name "Bui Luong Truong"
$ git config --global user.email "truongblt@gmail.com"

Change Remote URL

git remote -v
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git