tips icon indicating copy to clipboard operation
tips copied to clipboard

Most commonly used git tips and tricks.

Results 40 tips issues
Sort by recently updated
recently updated
newest added

Hi, I think this is a bug :question: https://github.com/git-tips/tips/blob/8891620064c546f4a8377c1a7d638200cb5458aa/README.md?plain=1#L1089-L1097

ajjhgjkhakg

``` git branch -dr ``` This does not actually delete the branch on the remote as the other two commands this is listed as an alternative for do.

Currently: Undo local changes with the last content in head git checkout -- Should be: Undo local changes with the content in index(staging) git checkout -- Reference: https://git-scm.com/docs/git-checkout Examples: git...

For ease of memorization and education purposes, some of these tips should have at least short explanations. Example: ~~~ Delete remote branch git push origin --delete Alternatives: git push origin...