python setup.py develop --user
pip install -e .
- ugit commit -m "commit message" Creates a commit with the given message
- ugit log [ref/oid] Shows the log from given ref or oid. Defaults to HEAD
- ugit checkout ref/oid Restore the worktree from given ref/oid
- ugit tag name [ref/oid] Tag a given ref/oid. Defaults to HEAD
- ugit write-tree Writes the current state of the directories to object store
- ugit read-tree [object hash] Retrieves the files from object id hash given
- Commit
- Logs
- Checkout
- Tags
- Imagine you work on some code and you want to save a version.
- Run
ugit commit -m "commit message"
- You can tag the commit with
ugit tag mainidea
- Continue working and repeat steps 2 and 3 as necessary.
- If you want to return to a previous version, use
ugit checkout ref/oid
to restore it to the working directory. This essentialy creates a new "branch" where you can work separetly. - You can commit the changes on this branch as well, and tag them.
- Return to whichever tags you want to work with.