Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
January 15, 2021 07:03 pm GMT

TIL: the Git -p flag!

Today I learned about the -p flag in git and now I want to use it everywhere!

According to the man page:

$ man git-add...-p, --patchUse the interactive patch selection interface to chose which changes to commit. See git-add(1) for details...
Enter fullscreen mode Exit fullscreen mode

You can use the -p flag with checkout, add, commit

Git Patch!!!!!

How cool


Original Link: https://dev.to/focusedlabs/til-the-git-p-flag-2b1g

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To