3 ms·
For me, the best replacement was several command line aliases and bash scripts for maximizing my productivity with Git in the shell. I can now see all my projec
by hellofunk 9y ago
For me, the best replacement was several command line aliases and bash scripts for maximizing my productivity with Git in the shell. I can now see all my projects (i.e. Sourcetree bookmarks) and their git status with one command, and easily fetch updates for all my projects at once (like Sourcetree does in the background) and view diffs in a tree-like form with branch lines, etc. All with simple scripts.
I used to think I wouldn't be able to live without something like ST but I was wrong and am more productive now without it.
- heme 9y agoCare to share? I have yet to find the right mix of aliases that replicate SourceTree's overview of the whole project.
- hellofunk 9y agoIt really depends on what information is important to you. For example, seeing all your branches with visual lines that show how they are connected, you can do something like this in your .gitconfig file: [alias] lg = !"git lg1" lg1 = !"git lg1-specific --all" lg2 = !"git lg2-specific --all" lg3 = !"git lg3-specific --all" lg1-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(black)%s%C(reset) %C(dim black)- %an%C(reset)%C(auto)%d%C(reset)' lg2-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(black)%s%C(reset) %C(dim black)- %an%C(reset)' lg3-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset) %C(bold cyan)(committed: %cD)%C(reset) %C(auto)%d%C(reset)%n'' %C(black)%s%C(reset)%n'' %C(dim black)- %an <%ae> %C(reset) %C(dim black)(committer: %cn <%ce>)%C(reset)' Then doing "git lg" or one of these variants gives you a quick tree view. Colors and other customizations can of course be changed. This is one of many tools I used to replace ST.