Debian Codegraph @

PKG-INFO

raw
1 Metadata-Version: 1.2
2 Name: legit
3 Version: 1.2.0.post0
4 Summary: Git for Humans.
5 Home-page: https://github.com/frostming/legit
6 Author: Kenneth Reitz
7 Author-email: [email protected]
8 License: BSD
9 Description: .. -*-restructuredtext-*-
10
11 Legit: Git for Humans
12 =====================
13
14 Inspired by GitHub for Mac.
15
16
17 The Concept
18 -----------
19
20 `GitHub for Mac <http://mac.github.com>`_ is not just a Git client.
21
22 This `comment <https://news.ycombinator.com/item?id=2684483>`_ on Hacker News
23 says it best:
24
25 They haven't re-created the git CLI tool in a GUI, they've created something different. They've created a tool that makes Git more accessible. Little things like auto-stashing when you switch branches will confuse git veterans, but it will make Git much easier to grok for newcomers because of the assumptions it makes about your Git workflow.
26
27 Why not bring this innovation back to the command line?
28
29
30 The Interface
31 -------------
32
33 ``switch <branch>``
34 Switches to specified branch.
35 Defaults to current branch.
36 Automatically stashes and unstashes any changes. (alias: ``sw``)
37
38 ``sync [<branch>]``
39 Synchronizes the given branch. Defaults to current branch.
40 Stash, Fetch, Auto-Merge/Rebase, Push, and Unstash.
41 You can only sync published branches. (alias: ``sy``)
42
43 ``publish [<branch>]``
44 Publishes specified branch to the remote. (alias: ``pub``)
45
46 ``unpublish <branch>``
47 Removes specified branch from the remote. (alias: ``unp``)
48
49 ``undo``
50 Un-does the last commit in git history. (alias: ``un``)
51
52 ``branches [<wildcard pattern>]``
53 Display a list of available branches.
54 Allows wildcard pattern matching of branch name.
55
56
57 The Installation
58 ----------------
59
60 .. image:: https://img.shields.io/pypi/v/legit.svg
61 :target: https://pypi.python.org/pypi/legit/
62
63 .. image:: https://img.shields.io/travis/frostming/legit/master.svg
64 :target: https://travis-ci.org/frostming/legit/
65
66 .. image:: https://img.shields.io/coveralls/github/frostming/legit.svg
67 :target: https://coveralls.io/r/frostming/legit/
68
69 .. image:: https://repl.it/badge/github/frostming/legit
70 :target: https://repl.it/github/frostming/legit
71
72
73 From `PyPI <https://pypi.python.org/pypi/legit/>`_ with the Python package manager::
74
75 pip install legit
76
77 Or download a standalone Windows executable from `GitHub Releases <https://github.com/frostming/legit/releases>`_.
78
79 To install the cutting edge version from the git repository::
80
81 git clone https://github.com/frostming/legit.git
82 cd legit
83 python setup.py install
84
85 Note: if you encountered `Permission denied`,
86 prepend `sudo` before the `pip` or `python setup.py` command.
87
88 You'll then have the wonderful ``legit`` command available. Run it within
89 a repository.
90
91 To view usage and examples, run ``legit`` with no commands or options::
92
93 legit
94
95 To install the git aliases, run the following command::
96
97 legit --install
98
99 To uninstall the git aliases, run the following command::
100
101 legit --uninstall
102
103
104 Command Options
105 ---------------
106
107 All legit commands support ``--verbose`` and ``--fake`` options.
108
109 In order to view the git commands invoked by legit, use the ``--verbose`` option::
110
111 legit sync --verbose
112
113 If you want to see the git commands used by legit but don't want them invoked, use the ``--fake`` option::
114
115 legit publish --fake
116
117
118 Caveats
119 -------
120
121 - All remote operations are carried out by the remote identified in ``$ git config legit.remote remotename``
122 - If a ``stash pop`` merge fails, Legit stops. I'd like to add checking for a failed merge, and undo the command with friendly error reporting.
123
124 Platform: UNKNOWN
125 Classifier: Development Status :: 5 - Production/Stable
126 Classifier: Intended Audience :: Developers
127 Classifier: Natural Language :: English
128 Classifier: License :: OSI Approved :: BSD License
129 Classifier: Programming Language :: Python
130 Classifier: Programming Language :: Python :: 2
131 Classifier: Programming Language :: Python :: 2.7
132 Classifier: Programming Language :: Python :: 3
133 Classifier: Programming Language :: Python :: 3.5
134 Classifier: Programming Language :: Python :: 3.6
135 Classifier: Programming Language :: Python :: 3.7
136 Classifier: Programming Language :: Python :: 3.8
137 Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*