An Interest In:
Web News this Week
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
- April 19, 2024
- April 18, 2024
- April 17, 2024
January 15, 2021 07:03 pm GMT
Original Link: https://dev.to/focusedlabs/til-the-git-p-flag-2b1g
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
Original Link: https://dev.to/focusedlabs/til-the-git-p-flag-2b1g
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To