Thanks for sharing this, you already covered 99% of work that is used on daily basis
I would like to add few more that has helped me:
- git status - this allows you to see what you are staging or unstaging
- git rm --cached - when you don't want to track any particular file like config or .env file
- git commit --amend - when your commit message has a mistake, no worries use this to replace that and this will be the final commit message for the changes
I am begrudgingly coming around to the terminal, including for git commands.
Thankfully, it has been really easy to find cheatsheets and tutorials. I still get really nervous anytime I have to do anything.
me too, and that's why getting the reps in regularly helps a ton!
Thanks for sharing this, you already covered 99% of work that is used on daily basis
I would like to add few more that has helped me:
- git status - this allows you to see what you are staging or unstaging
- git rm --cached - when you don't want to track any particular file like config or .env file
- git commit --amend - when your commit message has a mistake, no worries use this to replace that and this will be the final commit message for the changes