ec (easy-conflict) is a terminal Git mergetool with a 3-way TUI and Neovim integration. The post ec – terminal Git mergetool appeared first on LinuxLinks.
📰 Source: LinuxLinks
🔗 Link: https://www.linuxlinks.com/ec-terminal-git-mergetool/
#linux #opensource
ec (easy-conflict) is a terminal Git mergetool with a 3-way TUI and Neovim integration. The post ec – terminal Git mergetool appeared first on LinuxLinks.
📰 Source: LinuxLinks
🔗 Link: https://www.linuxlinks.com/ec-terminal-git-mergetool/
#linux #opensource
The xcode-select is likely not needed if your dev environment is somewhat standard on a Mac. A modern isolated env might hide it from you, though.
stackoverflow.com/a/25625663
The xcode-select is likely not needed if your dev environment is somewhat standard on a Mac. A modern isolated env might hide it from you, though.
stackoverflow.com/a/25625663
Merge conflicts can be scary, but Git shows you what changed.
Fix it:
- git status # See which files have conflicts
- git mergetool # Use a merge tool
- git add <resolved-files>
- git commit
Merge conflicts can be scary, but Git shows you what changed.
Fix it:
- git status # See which files have conflicts
- git mergetool # Use a merge tool
- git add <resolved-files>
- git commit
- `git config set --global merge.tool vimdiff`
- `git mergetool` ← to use merge tool
- `]c` and `[c` ← `vimdiff` motions to move to conflicting hunks
- `:diffget [buffspec]` ← apply local/remote changes to hunk
- `git config set --global merge.tool vimdiff`
- `git mergetool` ← to use merge tool
- `]c` and `[c` ← `vimdiff` motions to move to conflicting hunks
- `:diffget [buffspec]` ← apply local/remote changes to hunk
* git e OTHER - compares the current working directory against another clean commit/branch/tag checkout
* git e2 LEFT RIGHT - do a diff of two commits/branches/tags
script text in alt text
* git e OTHER - compares the current working directory against another clean commit/branch/tag checkout
* git e2 LEFT RIGHT - do a diff of two commits/branches/tags
script text in alt text
It’s a fast, local-first, open-source Git client for Linux, macOS, and Windows, built for people working in large repos who still want familiar Git workflows.
Diffs, merge tools, worktrees, history, and `git difftool` / `git mergetool` support.
gitcomet.dev
It’s a fast, local-first, open-source Git client for Linux, macOS, and Windows, built for people working in large repos who still want familiar Git workflows.
Diffs, merge tools, worktrees, history, and `git difftool` / `git mergetool` support.
gitcomet.dev
`n` and `N` let you navigate files.
And `git diff -p | cat` still works when I need raw output.
Here's some .gitconfig I've accumulated over the years. Not sure what all it does but it works for me.
`n` and `N` let you navigate files.
And `git diff -p | cat` still works when I need raw output.
Here's some .gitconfig I've accumulated over the years. Not sure what all it does but it works for me.
para ver los cambios entre ramas, parches, mergetool, etc. Y es súper fácil de usar y ligero. Lo recomiendo totalmente.
Lo puedes instalar así:
" Plug
Plug 'sindrets/diffview.nvim'
para ver los cambios entre ramas, parches, mergetool, etc. Y es súper fácil de usar y ligero. Lo recomiendo totalmente.
Lo puedes instalar así:
" Plug
Plug 'sindrets/diffview.nvim'
TUI 3-way git mergetool
🔗 https://github.com/chojs23/ec
#homebrew #newpkg #macos #linux #formula
TUI 3-way git mergetool
🔗 https://github.com/chojs23/ec
#homebrew #newpkg #macos #linux #formula
[merge]
tool = vimdiff
[mergetool]
cmd = "nvim -d $MERGED $LOCAL $REMOTE -c 'wincmd J | wincmd ='"
[mergetool]
keepBackup = false
[merge]
tool = vimdiff
[mergetool]
cmd = "nvim -d $MERGED $LOCAL $REMOTE -c 'wincmd J | wincmd ='"
[mergetool]
keepBackup = false
Actually, they are annoying *because* they break flow while I’m trying to do a thing.
I’d rather use merde as an automatic mergetool, maybe with a /dev/terminal review screen.
Actually, they are annoying *because* they break flow while I’m trying to do a thing.
I’d rather use merde as an automatic mergetool, maybe with a /dev/terminal review screen.
But here's a brand new tool somebody is developing:
github.com/chojs23/ec
But here's a brand new tool somebody is developing:
github.com/chojs23/ec