Skip to content
Snippets Groups Projects
Commit 0bd39b20 authored by Yuval Langer's avatar Yuval Langer
Browse files

Rename `foo` to a meaningful name `repo_name`

I get lost within all of those meaningless names.
It is useful to give things meaningful names, especially in documentation.
parent d0188509
No related branches found
No related tags found
No related merge requests found
...@@ -220,7 +220,7 @@ this document (see above). ...@@ -220,7 +220,7 @@ this document (see above).
vcsh will check if any file it would want to create exists. If it exists, vcsh vcsh will check if any file it would want to create exists. If it exists, vcsh
will throw a warning and exit. Move away your old config and try again. will throw a warning and exit. Move away your old config and try again.
Optionally, merge your local and your global configs afterwards and push with Optionally, merge your local and your global configs afterwards and push with
`vcsh foo push`. `vcsh repo_name push`.
## Moving into a New Host ## Moving into a New Host
...@@ -351,14 +351,15 @@ Now, it's time to edit the template config and fill it with your own remotes: ...@@ -351,14 +351,15 @@ Now, it's time to edit the template config and fill it with your own remotes:
And then create your own stuff: And then create your own stuff:
vcsh init foo
vcsh foo add bar baz quux
vcsh foo remote add origin git://quuux
vcsh foo commit
vcsh foo push
cp $XDG_CONFIG_HOME/mr/available.d/mr.vcsh $XDG_CONFIG_HOME/mr/available.d/foo.vcsh vcsh init repo_name
vim $XDG_CONFIG_HOME/mr/available.d/foo.vcsh # add your own repo vcsh repo_name add bar baz quux
vcsh repo_name remote add origin git://quuux
vcsh repo_name commit
vcsh repo_name push
cp $XDG_CONFIG_HOME/mr/available.d/mr.vcsh $XDG_CONFIG_HOME/mr/available.d/repo_name.vcsh
vim $XDG_CONFIG_HOME/mr/available.d/repo_name.vcsh # add your own repo
Done! Done!
...@@ -427,9 +428,9 @@ Neat. ...@@ -427,9 +428,9 @@ Neat.
After you have made some changes, for which you would normally use `git add` After you have made some changes, for which you would normally use `git add`
and `git commit`, use the vcsh wrapper (like above): and `git commit`, use the vcsh wrapper (like above):
vcsh foo add bar baz quux vcsh repo_name add bar baz quux
vcsh foo commit vcsh repo_name commit
vcsh foo push vcsh repo_name push
### Using vcsh without myrepos ### Using vcsh without myrepos
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment