posh-git
GitExtensions
posh-git | GitExtensions | |
---|---|---|
18 | 25 | |
7,656 | 7,716 | |
- | 0.8% | |
2.6 | 9.6 | |
about 1 month ago | 7 days ago | |
PowerShell | C# | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
posh-git
-
PowerShell: The object-oriented shell you didn't know you needed
Ah if you want auto completion for native commands they need to be registered first. PSReadLine provides autocompletion support but it only works by default with things builtin to PowerShell itself. For `git` there is a fairly popular module called posh-git [1] that provides auto completion support for some of the well known commands. Git for Windows also calls it out [2]. You can also provide your own custom auto complete calls with Register-ArgumentCompleter [3]. Hope this helps!
[1] https://github.com/dahlbyk/posh-git
-
The bash book to rule them all
PowerShell: https://github.com/dahlbyk/posh-git/blob/master/src/GitPromp...
I believe this is clean Bash code and clean PowerShell code, and a script with a certain complexity. The functions inside the Bash script are documented using comments, the ones inside the PowerShell script are documented using "structured comments" (similar to javadoc/xmldoc/...). The parameters of the functions inside the PowerShell script also contain metadata which is used to provide completion on the commandline and similar functionality as the command line flags you demonstrated.
I just learned about 'getopts' in Bash, which you can actually also use to implement parameters to a Bash function. So what you are showing on a script level, can also be applied for functions. Did not know about that.
Still, not saying PowerShell is better than Bash in a Linux context, but it seems a lot of Linux users have a gut reaction to right out reject PowerShell. I think it does have some advantages for certain use cases, like more complex scripts, a cross-platform context, ... and of course, for someone with a .NET background it's easier to program more complex things with it.
- Stuck trying to execute a ps1 from my github repo
-
Kitsch-Prompt - golang based cross-platform shell prompt
Starship is pretty slick, but I feel like it's lacking in the customization department. It's easy to get it to display whatever you want, but hard to get it to show it exactly how you want it. If you want a "powerline" style prompt, that's basically impossible in Starship (although it's one of the most upvoted feature requests). Or using color gradients on the prompt - I have this 16.7M color display, why am I limited to flat colors? Finally I'm a big fan of posh git, and Starship doesn't have the ability to display anything like this natively. I used a custom command to run a modified version of posh-git for a long time, but it wasn't very fast.
-
What is the name of the cli tool that shows your current branch and changes you've made?
If you're on Windows, I've used posh-git in the past.
- Repos and PowerShell
- posh-git
- Adding Git autocomplete to PowerShell (Windows)
-
I just discovered aliases and I'm looking for more.
The Posh-Git module for showing Git repo details in the prompt.
-
How to increase productivity at work with a pretty Windows Terminal and smart Powerline tools
Install Posh-Git using this command:
GitExtensions
-
Git Branches: Intuition and Reality
I agree that git is almost asking you to juggle commits.
My preference is to use temporary branches and cherry-picking instead of stashing; I mostly use a gui* to work with git so it is easy to select the two or three commits to cherry-picking or see visually if an interactive rebase would work.
* https://gitextensions.github.io/
- Dear Atlassian, fix that fuckn Sourcetree launch screen
-
Git Merge – The Definitive Guide
I use Git Extensions myself as I find the git interface very straight forward, however they still have this fucking insane and frustrating issue: In the mergetool "Theirs" and "Mine" are swapped
- I urgently need help with reverting changes made in Git (complete noob)
-
IT Pro Tuesday #251 - Git UI, Fiber Training, Infosec News & More
Git Extensions is a more-intuitive way to manage your Git repositories in Windows. Its standalone interface serves as an effective, CLI-free means to control Git. Preferred by namtab00, because "SourceTree hides and shortcuts too much git functionality."
-
Git GUI app that can double click on a branch to check it out?
I presume this is where one goes to make a feature request? https://github.com/gitextensions/gitextensions/issues
- Ask HN: Where are the simple Git GUIs?
-
How do you work on the same project when you're in between two PC's in a day?
If you're on Windows, I'd start with installing official Git. It comes with a Git Bash CLI and what not. There are also third party apps like GitExtensions and TortoiseGit if you want more UI/shell integration.
-
Learning git as a beginner
Everyone's going to downvote this, but I prefer the GUI over the command-line. I use http://gitextensions.github.io/
-
Coolest projects, GO!
https://github.com/gitextensions/gitextensions/releases/tag/v2.51.05 - nice little ui for working with git. unfortunately, v2.51.05 is the last version that I can confirm works under mono (it was the last 2.x version and they completely rewrote the code from scratch in the 3.x series. My understanding was that it lost Linux compatibility at that point).
What are some alternatives?
oh-my-posh - The most customisable and low-latency cross platform/shell prompt renderer
Bonobo Git Server - Bonobo Git Server for Windows is a web application you can install on your IIS and easily manage and connect to your git repositories. Go to homepage for release and more info.
Git Credential Manager for Windows
Gitea - Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
GitLink - Making .NET open source accessible!
LibGit2Sharp - Git + .NET = ❤
GitVersion - From git log to SemVer in no time
tortoisegit - Windows Explorer Extension to Operate Git; Mirror of official repository https://tortoisegit.org/sourcecode
Gogs - Gogs is a painless self-hosted Git service