gito
所属分类:代码编辑器
开发工具:Shell
文件大小:9KB
下载次数:0
上传日期:2018-05-28 16:40:57
上 传 者:
sh-1993
说明: 编辑器无关的实时配对编程
(Editor agnostic realtime pair programing)
文件列表:
UNLICENSE (1210, 2018-05-29)
common.sh (1184, 2018-05-29)
editor-plugins (0, 2018-05-29)
editor-plugins\emacs (0, 2018-05-29)
editor-plugins\emacs\gito.el (361, 2018-05-29)
editor-plugins\kakoune (0, 2018-05-29)
editor-plugins\kakoune\gito.kak (1687, 2018-05-29)
gito (375, 2018-05-29)
gito-clone (509, 2018-05-29)
gito-connect (965, 2018-05-29)
gito-gitopath (276, 2018-05-29)
gito-init (848, 2018-05-29)
gito-listen (1628, 2018-05-29)
gito-log (139, 2018-05-29)
gito-sync (1129, 2018-05-29)
template (0, 2018-05-29)
template\bare-listen (847, 2018-05-29)
template\hooks (0, 2018-05-29)
template\hooks\post-receive (296, 2018-05-29)
# gito
Editor agnostic realtime pair programing with git as backend (PoC)
## Setup
Copy source and add to ```PATH```.
```sh
git clone https://github.com/icetan/gito
export PATH=$PWD/gito:$PATH
```
## Usage
Start a central gito share by first creating a shared ssh user.
```sh
sudo useradd -m gito
sudo -u gito mkdir -p ~gito/.ssh
sudo -u gito tee -a ~gito/.ssh/authorized_keys < ~/.ssh/id_rsa.pub
sudo chmod g+s ~gito
sudo chmod -R 755 ~gito
sudo chmod 600 ~gito/.ssh/authorized_keys
```
Create a directory with files that you want to share.
```sh
mkdir my-share
cd my-share
echo Look at this file! > a-file
```
Start sharing your files.
```sh
gito connect gito@127.0.0.1:shared-repo
```
Then you can start editing files.
```sh
echo It is awesome >> a-file
gito sync
```
Each time you do ```gito sync``` your changes will be pushed out to the
connected repo.
Check out the ```editor-plugins``` directory for the best experience with your
editor.
近期下载者:
相关文件:
收藏者: