How to commit specific files from a subdirectory? To commit specific files from a subdirectory in Git, use git add with the file paths, then git commit to create a new commit.
How do you check why a file is not in the git status? Ever had a problem, when you add a new file or make changes to an existing one but it just doesn't show up in git status? We got a solution for you.
How to change a file name's capitalization without changing its content? If you have a Windows setup, you must have faced the annoying issue of file name case change. Where you changed the file name capitalization, but it just doesn't show up.
How to add staged changes to your previous commit in Git? Forgot to add some files or changes in your last commit? Or remember that last thing you needed to do after you have already committed? We have a solution!
How to add changes in one file to two different commits in Git? Let's say you were working on an update but needed to push some partial code. To do it, you can quickly call the interactive add feature of git and select the portion of code you want.
What did I just commit? So imagine that you blindly committed some changes with `git commit -a`, and you are not satisfied with the particular content of the commit you just created.
How do I delete a git branch locally and remotely? Git branches are an essential part of your daily development process, but once you or your team have finished with a feature and merged it into your remote’s main branch, you would want to delete that branch from your local repo and your remote.
How to avoid repeated merge conflicts? I would recommend all developers to set up this globally; you will love it and won't even remember it.
How to stage changes one by one after reviewing in git? Usually, it is recommended to create a new fix branch from your master and push it back, but sometimes we kind of go lazzy. In those moments, I simply make the changes and add them one by one using the following command.
How to checkout to a remote branch that someone else is working on in git? Ever been in a situation where you need to collaborate with someone, but you don't have that branch on our local repo? How do we get that, as doing a checkout will not work?