-
Notifications
You must be signed in to change notification settings - Fork 7
/
README
53 lines (36 loc) · 1.23 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
How to create a vim config, starting from this base:
====================================================
1. Fork this repo at github
2. Check out your repo
3. Fetch the submodules:
git submodule update --init
Add a new submodule
===================
git submodule add git@github.com:gerw/vim-latex-suite.git bundle/vim-latex-suite
git submodule update --init
./add_doc_tags_to_exclude.sh
git commit -m 'Added vim-latex-suite as submodule'
Change a submodule from within vim-conf-gerw
============================================
We assume you change the submodule located in bundles/vim-tex-syntax
1. Ensure you have a clean status?
git status
2. Make the change to the submodule
3. (Add + ) Commit the changes (to the master branch of the submodule):
cd bundles/vim-tex-syntax
git checkout master
git commit -m 'Message'
4. Push it
git push origin master
5. Tell vim-conf-base that the package has been updated
cd ../..
git checkout vim-conf-base/master
git add bundle/vim-tex-syntax
git commit
=> should end in "detached HEAD"
git push vim-conf-base HEAD:master
6. Check out your master and merge the changes from vim-conf-base/master
git checkout master
git merge vim-conf-base/master
7. Push changes to your repo
git push origin master