Last active
February 21, 2026 12:50
-
-
Save AlisterH/f229f268d4513737aabcaea785359f1c to your computer and use it in GitHub Desktop.
useful git stuff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ignore file permission changes | |
| git config core.filemode false | |
| http://joaquin.windmuller.ca/2011/11/16/selectively-select-changes-to-commit-with-git-or-imma-edit-your-hunk | |
| https://web.archive.org/web/20170630184446/http://www.naleid.com/blog/2012/01/12/how-to-use-kdiff3-as-a-3-way-merge-tool-with-mercurial-git-and-tower-app/ | |
| http://blog.wuwon.id.au/2010/09/painless-merge-conflict-resolution-in.html | |
| https://marcin-chwedczuk.github.io/use-meld-as-git-merge-diff-tool | |
| https://martin-thoma.com/software-versioning-cheat-sheet/ | |
| https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History | |
| https://stackoverflow.com/questions/2428137/how-to-rebase-one-git-repository-onto-another-one | |
| https://robots.thoughtbot.com/git-interactive-rebase-squash-amend-rewriting-history | |
| https://stackoverflow.com/questions/11133290/which-version-of-the-git-file-will-be-finally-used-local-base-or-remote | |
| https://gist.github.com/katylava/564416 |
Author
Author
GOT - Lightweight and supposedly faster alternative to git
It keeps the working directory separate from the version control (allowing more than one working directory), and has slightly different syntax. IIRC:
# clones version control to gwc.git
# make sure you use -a so you always have branches from origin available
got clone -a https://github.com/alisterh/gwc
# checks out to gwc
got checkout gwc.git gwc
# switches working directory to a different branch
cd gwc
got checkout graph_working
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search git stashes: