DEV Community

Discussion on: Git it? Got it? Good.

Collapse
 
yenyih profile image
Jordan Soo Yen Yih

"git fetch" and "git merge origin branch_name" are best practice every time before you commit your codes. (Don't mess with your teammates)πŸ˜‰

  • Tips: "git fetch --prune", "--prune" is the best utility for cleaning outdated branches.
Collapse
 
aliyalewis profile image
Aliya Lewis

Thanks! I didn't know about "git fetch --prune", I'll have to try that!