Hey there, fabulous folks! Behold, a swift and snappy cheat sheet for your Git command adventures:
git config
Setup author name and ma...
For further actions, you may consider blocking this person and/or reporting abuse
Very nice to see it! But, from experience, I noticed
git add -Ais not the same hasgit commit -aorgit add .. In the case who you add "new" file on project. New file need to add withgit add -Aotherwise it will be ignored.Very good explantions and work. Just a suggestion to complete your cheatsheet : it's recommend to use
git push --force-with-leaseinstead of onlygit push -forgit push --forcein most cases. A full example of this topic here.Very good, thanks for sharing.
You can use
git switchto create, change, etc. branchsI like this command, because for me it's more semantic than
checkoutin these cases.See more in git doc: git-scm.com/docs/git-switch
very nice list of commands, you might want to add Rewriting the most recent commit message -
git commit --amend. This is useful when we have rules for the hook when we push the commits.Thanks for the feedback, Sri. I will add it. 😊
Very nice & helpful summary of numerous git features. Thanks for sharing. I bookmarked this for later use. really great
I'm really glad to hear that 😊
$ man giteverydayGreat this will be in my "save" list. thanks.
helpful, thank you
what about "revert" usage for some commits ?
This is pretty neat, thanks
Good job
Nice walkthrough, what about
git prunein order to clean up for repos in origin, not existing any moreThanks, that's so sweet ❤️
Very helpful, thanks for sharing
Very good, thanks for sharing