Hey everyone! This will be a short and sweet blog on git commands. Let's git started (that was cringy for me too but I couldn't resist!).
...
For further actions, you may consider blocking this person and/or reporting abuse
Did not know
git diff --staged
existed.Gonna try it next time.
Glad I could help!
"git fetch" and "git merge origin branch_name" are best practice every time before you commit your codes. (Don't mess with your teammates)π
Thanks! I didn't know about "git fetch --prune", I'll have to try that!
Did not know
git diff branch1 branch2
existedwill come in handy. Thanks!!
You're welcome!
Good attempt writing on Git but I would suggest talking about "git add" and "git commit" over "git add", "git reset", "git remote" to suit beginners more.
I didn't attempt to write about git commands, I did write about git commands. Also, I intentionally left those out as I felt they were commonly searched/used. But if any beginners are looking for the commands you mentioned, they can find them by clicking on the link under "resources" at the end of my blog π