[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gited b4e58ca 27/73: gited-list: Add autoload cookie
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gited b4e58ca 27/73: gited-list: Add autoload cookie |
Date: |
Sun, 29 Nov 2020 00:00:33 -0500 (EST) |
branch: externals/gited
commit b4e58ca6243afabbc406e532fb23a9647a16cf5e
Author: Tino Calancha <tino.calancha@gmail.com>
Commit: Tino Calancha <tino.calancha@gmail.com>
gited-list: Add autoload cookie
Add simple usage example in comentary section.
Bump version to 0.2.2.
* gited.el (gited-list): Add autoload cookie.
---
gited.el | 36 +++++++++++++++++++++++++++++++++---
1 file changed, 33 insertions(+), 3 deletions(-)
diff --git a/gited.el b/gited.el
index 0b4975b..f4530c8 100644
--- a/gited.el
+++ b/gited.el
@@ -8,11 +8,11 @@
;; Created: Wed Oct 26 01:28:54 JST 2016
;; Compatibility: GNU Emacs: 24.4
-;; Version: 0.2.1
+;; Version: 0.2.2
;; Package-Requires: ((emacs "24.4") (cl-lib "0.5"))
-;; Last-Updated: Fri Jun 09 22:47:58 JST 2017
+;; Last-Updated: Sat Jun 10 11:38:55 JST 2017
;; By: calancha
-;; Update #: 660
+;; Update #: 661
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
@@ -55,6 +55,35 @@
;; For instance `gited-rename-branch' is bound to `R' as `dired-do-rename'.
;; Similarly, `gited-mark' is bound to `m' as `dired-mark'.
;;
+;; === How to push to the remote repo. your local changes ===
+;;
+;; Suppose you want to update a file 'foo' (*).
+;; From the Gited buffer:
+;; 0) c master RET ; Checkout master branch (**).
+;; *< ; Synchronize with remote repository.
+;;
+;; <<< Update 'foo' with your changes and save it. >>>
+;;
+;; From the Gited buffer:
+;; 1) A ; Stage your changes.
+;; 2) C-c c "Updated foo" RET ; Commit them.
+;; 3) *> ; Public your changes into the remote repository.
+;; ---
+;; (*) We have restricted to 1 file for simplicity. The recipe works
+;; for N>=1 files.
+;; (**) For changes that require several commits you might prefer to
+;; work in a separated branch 'feature'. In that case you'd
+;; merge the master branch with 'feature' before 3).
+;;
+;;
+;; Bugs/TODO
+;; =========
+;; * Currently, 'origin' is assumed as the remote repository:
+;; Remove some hardcode 'origin' around, and extend it
+;; to handle multiple remotes.
+;;
+;; * Pull requests are not implemented.
+
;;
;; Internal variables defined here:
;;
@@ -3375,6 +3404,7 @@ When called interactively with a prefix set OTHER-WINDOW
non-nil."
(or gited-verbose (gited-hide-details-mode 1))
(setq gited--hide-details-set t)))))
+;;;###autoload
(defalias 'gited-list 'gited-list-branches)
(defun gited-print-entry (id cols)
- [elpa] externals/gited 96ec28a 35/73: * gited.el (gited-goto-branch): Return point on success., (continued)
- [elpa] externals/gited 96ec28a 35/73: * gited.el (gited-goto-branch): Return point on success., Stefan Monnier, 2020/11/29
- [elpa] externals/gited c8eaa05 58/73: gited.el: Merge branch 'show-trunk-ci-status', Stefan Monnier, 2020/11/29
- [elpa] externals/gited 736ac62 52/73: Do not assume that 'git rev-parse 1' exits with status != 0, Stefan Monnier, 2020/11/29
- [elpa] externals/gited 910cf66 40/73: * gited.el (gited-do-sync-with-trunk): Fix typo in docstring., Stefan Monnier, 2020/11/29
- [elpa] externals/gited dc0b527 38/73: gited-do-sync-with-trunk: New command, Stefan Monnier, 2020/11/29
- [elpa] externals/gited 2ce2163 13/73: Prune deleted remote branches, Stefan Monnier, 2020/11/29
- [elpa] externals/gited fac8958 03/73: gited-list-branches: Move to current branch only when it's shown, Stefan Monnier, 2020/11/29
- [elpa] externals/gited aba4cf9 18/73: * gited.el (gited-goto-branch): Check first that BRANCH is shown., Stefan Monnier, 2020/11/29
- [elpa] externals/gited b0fe243 19/73: * gited.el (gited-set-branch-upstream): Output buffer must be editable., Stefan Monnier, 2020/11/29
- [elpa] externals/gited ff44a0d 23/73: * gited.el (gited-tag-add): Fix docstring., Stefan Monnier, 2020/11/29
- [elpa] externals/gited b4e58ca 27/73: gited-list: Add autoload cookie,
Stefan Monnier <=
- [elpa] externals/gited 7ed4084 24/73: * gited.el (gited-list-branches): Update docstring. Make alias to `gited-list'., Stefan Monnier, 2020/11/29
- [elpa] externals/gited 09d3586 28/73: Show example screenshots, Stefan Monnier, 2020/11/29
- [elpa] externals/gited 1250818 30/73: Use proper name for the branch column according with gited-ref-kind, Stefan Monnier, 2020/11/29
- [elpa] externals/gited ffa55f4 65/73: * .travis.yml: Add recipes to test for Emacs 25.3 and Emacs 26.2, Stefan Monnier, 2020/11/29
- [elpa] externals/gited d31e1b2 63/73: Avoid side-effects in a couple of functions, Stefan Monnier, 2020/11/29
- [elpa] externals/gited 5b230bc 33/73: Use remote branches on marking commands if listing remotes, Stefan Monnier, 2020/11/29
- [elpa] externals/gited 6645603 37/73: * gited.el (gited-update): Preserve marks in Gited buffer., Stefan Monnier, 2020/11/29
- [elpa] externals/gited c9c6cf3 51/73: Add function to return the repository trunk branch, Stefan Monnier, 2020/11/29
- [elpa] externals/gited b09af6b 43/73: ; * gited.el: Update file header., Stefan Monnier, 2020/11/29
- [elpa] externals/gited 86f6564 69/73: gited: Add test for the last fixed bug, Stefan Monnier, 2020/11/29