DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: EasyGit - Sane syntax for git  (Read 24,410 times)

justice

  • Solve issues simply.
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • Participated in NANY Challenge Four Times
    • Cody Award
    • Coding Snacks
    • DJ Badge - DJ
EasyGit - Sane syntax for git
« on: March 26, 2012, 01:23 PM »
A better commandline interface for git! The primary reason why I have been using mercurial over git is that mercurial is so much higher level and logical to understand. But with EasyGit the commands are almost identical:
Quote
In short, Easy GIT is a single-file wrapper script for git, designed to make git easy to learn and use.

(Run 'eg help --all' for a more detailed list.)

Creating repositories
 eg clone       Clone a repository into a new directory
 eg init        Create a new repository

Obtaining information about changes, history, & state
 eg diff        Show changes to file contents
 eg log         Show history of recorded changes
 eg status      Summarize current changes

Making, undoing, or recording changes
 eg commit      Record changes locally
 eg mv          Move or rename files (or directories or symlinks)
 eg revert      Revert local changes and/or changes from previous commits
 eg stage       Mark content in files as being ready for commit

Managing branches
 eg branch      List, create, or delete branches
 eg merge       Join two or more development histories (branches) together
 eg switch      Switch the working copy to another branch

Collaboration
 eg pull        Get updates from another repository and merge them
 eg push        Push local commits to a published repository

Time saving commands
 eg bisect      Find the change that introduced a bug by binary search
 eg stash       Save and revert local changes, or apply stashed changes

Additional help:
 eg help COMMAND      Get more help on COMMAND.
 eg help --all        List more commands (not really all)
 eg help topic        List specialized help topics.

(Detailed list of differences between eg and git)



Screenshot - 26_03_2012 , 14_22_18.png
http://people.gnome.org/~newren/eg/


from HackerNews

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: EasyGit - Sane syntax for git
« Reply #1 on: March 26, 2012, 01:32 PM »
Nice find -- could come in handy.

justice

  • Solve issues simply.
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • Participated in NANY Challenge Four Times
    • Cody Award
    • Coding Snacks
    • DJ Badge - DJ
Re: EasyGit - Sane syntax for git
« Reply #2 on: March 26, 2012, 01:36 PM »
From what I heard people have been using it for a few years, it's robust, stable and doesn't mess with git commands :) But I just found out today haha.

justice

  • Solve issues simply.
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • Participated in NANY Challenge Four Times
    • Cody Award
    • Coding Snacks
    • DJ Badge - DJ
Re: EasyGit - Sane syntax for git
« Reply #3 on: March 26, 2012, 01:38 PM »
(Easy) GIT for SVN users ...showing that (easy) git is easier to use overall than subversion
http://people.gnome.org/~newren/eg/git-for-svn-users.html

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: EasyGit - Sane syntax for git
« Reply #4 on: April 03, 2012, 12:00 AM »
I haven't tried this, but it looks promising as an entry point for using git.

Thanks for sharing, justice  :Thmbsup:

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: EasyGit - Sane syntax for git
« Reply #5 on: April 03, 2012, 02:04 AM »
There were some similar items mentioned at the bottom of the Easy Git page:

Quote
    yap (announcement), by Steven Walter

    A porcelain that concentrates on making git easier for those interacting with subversion repositories; particularly trying to reduce the impedance mismatch that exists between the very different workflows typically used with native git repositories versus git-svn ones.

    pyrite, by Govind Salinas

    A porcelain focusing on providing a Mercurial-like user interface.

    yyhelp, by Tim Janik

    A single file bash script serving as a minimal porcelain. Emphasis on minimal; it's a very short file with no documentation that I could find.

    vng, by Thomas Zander

    A porcelain focusing on providing a darcs-like user interface.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: EasyGit - Sane syntax for git
« Reply #6 on: April 03, 2012, 07:20 AM »
Promising claims from the page:

Quote
eg makes git easy to learn and use

  • easily learnable - I claim you can learn git faster by first using eg than by starting with git directly
  • interchangable - You can switch between using eg and using git as often as you'd like. I do it all the same on the same repositories.
  • fully capable - Unlike other wrappers for git, eg does not remove or limit any capabilities of git in order to simplify it; it just tries to layer concepts and present the capabilities in a more orderly fashion.
  • compatible - eg is essentially command-line backwards compatible to git; those familiar with git can start using eg by simply replacing "git" with "eg" in their commands.

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,827
    • Participated in NANY Challenge Eight Times
    • Cody Award
Re: EasyGit - Sane syntax for git
« Reply #7 on: April 03, 2012, 09:33 AM »
The primary reason why I have been using mercurial over git is that mercurial is so much higher level and logical to understand.

I was about to say: They already have an EasyGit. It's called Mercurial. :Thmbsup:

justice

  • Solve issues simply.
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • Participated in NANY Challenge Four Times
    • Cody Award
    • Coding Snacks
    • DJ Badge - DJ
Re: EasyGit - Sane syntax for git
« Reply #8 on: April 03, 2012, 09:45 AM »
yep but other people might be using git so it helps to have an easy way to work with it.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: EasyGit - Sane syntax for git
« Reply #9 on: April 03, 2012, 09:45 AM »
eg seems to be a perl script -- haven't tested it thoroughly yet, but it does appear to run using StrawberryPerl and msysgit on Windows (only tried XP Pro SP3).

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • Coding Snacks
Re: EasyGit - Sane syntax for git
« Reply #10 on: April 06, 2012, 11:32 PM »
I've been debating whether to use easygit or not about a year ago... and then I forgot as I got into SmartGit (GUI -- there is at least one thread discussing it). SmartGit pretty much does everything I need (free for non-commercial use). And for the occasional "blame" command stuff, I'll use Tortoise Git GUI. Tortoise would be okay for most stuff.

The "bad" thing is that I pretty much forgot all the more complex Git command after so many months using GUIs. :)

PS: I love Git !
"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: EasyGit - Sane syntax for git
« Reply #11 on: April 20, 2012, 03:23 AM »
On a tangential note, I just noticed that SmartGit seems to support Mercurial now:

smartgit-hg.png

justice

  • Solve issues simply.
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • Participated in NANY Challenge Four Times
    • Cody Award
    • Coding Snacks
    • DJ Badge - DJ
Re: EasyGit - Sane syntax for git
« Reply #12 on: April 25, 2012, 08:30 AM »
Yes and SVN (but not svn working copies, it will create a 99% compatible git working copy that interacts with the svn repository)

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • Coding Snacks
Re: EasyGit - Sane syntax for git
« Reply #13 on: April 25, 2012, 02:29 PM »
Yes and SVN (but not svn working copies, it will create a 99% compatible git working copy that interacts with the svn repository)

I'm curious... Did you try it yet ?
"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould

Original address: https://www.donationcoder.com/forum/index.php?topic=30440.0