I'm a self-taught dev focused on websites and Python development.
My friends call me the "Data Genie".
When I get bored, I find tech to read about, write about and build things with.
I don't bother with the -p chunks in the terminal. VS Code and PyCharm do a great job and giving a neat UI for selecting a range of lines and staging those.
Also a time saver, if don't like git add, you can do this, which applies to named paths. If the file is untracked because it is new, you will have to use git add though.
# add and commit directory foo, bar and file.txt etc. Everything in current directory and below.
git commit .# add and commit everything in foo/ and below
git commit foo/
# Target a file
git commit file.txt
git commit foo/file.txt
# Target files
git commit foo/ bar/*.js package*.json README.md about.md
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I don't bother with the
-p
chunks in the terminal. VS Code and PyCharm do a great job and giving a neat UI for selecting a range of lines and staging those.Also a time saver, if don't like git add, you can do this, which applies to named paths. If the file is untracked because it is new, you will have to use git add though.