gitcopier 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -7
- data/lib/gitcopier/decisions.rb +1 -1
- data/lib/gitcopier/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cbcb2f87394cf7cc79d461bc6b676f116ae68d9
|
4
|
+
data.tar.gz: e1151f86602623493d31335579f901b6f3703d2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b34598a704fd962224dc9e0c70bc4f25761def16da1a2440d59205193269273bc687ae9fed7d79dcf82ada762d946fafdcd2ab877ace99d3c8349d43c5cd7ab
|
7
|
+
data.tar.gz: d8055374880087eb46d633f7f5d335efa30552e5271e3ab7604f14f86ee7988fa13c2e8a20081bc153e8184193291264e993cdb92aa7e43b2530bb3d1254d748
|
data/README.md
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
# Gitcopier
|
2
|
-
|
2
|
+
Help developers to integrate between multiple repositories.
|
3
3
|
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/gitcopier.svg)](https://badge.fury.io/rb/gitcopier)
|
5
|
+
[![Circle CI](https://circleci.com/gh/tranvictor/gitcopier.svg?style=svg)](https://circleci.com/gh/tranvictor/gitcopier)
|
6
|
+
[![Code Climate](https://codeclimate.com/repos/5627b7d16956804408002f46/badges/0959a12fd889b6a43f40/gpa.svg)](https://codeclimate.com/repos/5627b7d16956804408002f46/feed)
|
5
7
|
## Installation
|
6
8
|
|
7
9
|
Add this line to your application's Gemfile:
|
@@ -23,19 +25,20 @@ Imagine you are a Rails developer, your expertise is designing and developing
|
|
23
25
|
backend logic so you have one or more front end developers to help you with
|
24
26
|
design, javascript, stylesheet ... However, they are working in Nodejs environment
|
25
27
|
which is pretty different to Rails environment thus they have different repository.
|
26
|
-
In order to apply (integrate) changes from that repository, you might have to see
|
28
|
+
In order to apply (integrate) changes from that repository, you might have to see
|
29
|
+
what files were changed, copy them to appropriate places in your Rails repository.
|
27
30
|
Doing so is really annoying. You should have a better way of doing it.
|
28
31
|
|
29
|
-
## How Gitcopier work
|
30
|
-
Gitcopier helps you in intergrating those changes. Whenever you pull from front-end
|
31
|
-
repository, Gitcopier will ask you to decide where to copy changed file
|
32
|
+
## How `Gitcopier` work
|
33
|
+
`Gitcopier` helps you in intergrating those changes. Whenever you pull from front-end
|
34
|
+
repository, `Gitcopier` will ask you to decide where to copy changed file
|
32
35
|
(modified, added). It remembers your dicisions to automatically copy or not copy
|
33
36
|
in the future without asking you. This way, if front-end developers commit a
|
34
|
-
change to existing files, you just have to pull that repository and Gitcopier will
|
37
|
+
change to existing files, you just have to pull that repository and `Gitcopier` will
|
35
38
|
do all copying works.
|
36
39
|
|
37
40
|
## Usage
|
38
|
-
### Tell Gitcopier your repositories
|
41
|
+
### Tell `Gitcopier` your repositories
|
39
42
|
```
|
40
43
|
gitcopier --from <path_to_external_repo> --to <path_to_main_repo>
|
41
44
|
```
|
@@ -54,6 +57,7 @@ Usage: gitcopier [options]
|
|
54
57
|
-v, --version
|
55
58
|
--showall Show all integration information. This option ignore any other options.
|
56
59
|
```
|
60
|
+
|
57
61
|
### Working with git merge
|
58
62
|
After you `git pull` in external repository, `Gitcopier` will prompt your decision
|
59
63
|
where to copy the changed files.
|
data/lib/gitcopier/decisions.rb
CHANGED
data/lib/gitcopier/version.rb
CHANGED