|
You are here |
cmetcalfe.ca | ||
| | | | |
cassidoo.co
|
|
| | | | | If you're tired of your git branches being alphabetically sorted, you can change that! | |
| | | | |
www.erikschierboom.com
|
|
| | | | | Introduction When using git, local branches can track remote branches that no longer exist (the remote branch is gone). To identify these branches, we first have to cleanup (prune) the remote's branches: $ git fetch -p From https://test.com - [deleted] (none) -> origin/disable-feature-x - [deleted] (none) -> origin/fix-typo - [deleted] (none) -> origin/grammar-fix In this case, three remote branches were deleted. Let's see if we have local branches that are tracking deleted branches: | |
| | | | |
connorberry.com
|
|
| | | | | Git with Vimdiff One time view: git difftool --tool=vimdiff --no-prompt Always: git config --global diff.tool vimdiff git config --global merge.tool vimdiff For Single Repository: git config diff.tool vimdiff git config merge.tool vimdiff To avoid having Git prompt when launching Vimdiff: git config --global difftool.prompt false | |
| | | | |
blog.janissary.xyz
|
|
| | | |||