Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vcsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kevin Lyda
vcsh
Commits
1c20c509
Commit
1c20c509
authored
Sep 8, 2014
by
Richard Hartmann
Browse files
Options
Downloads
Plain Diff
Merge pull request #139 from yuvallanger/patch-2
README: Using a `repo_name` instead of `foo`
parents
d0188509
0bd39b20
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/README.md
+12
-11
12 additions, 11 deletions
doc/README.md
with
12 additions
and
11 deletions
doc/README.md
+
12
−
11
View file @
1c20c509
...
...
@@ -220,7 +220,7 @@ this document (see above).
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.
Optionally, merge your local and your global configs afterwards and push with
`vcsh
foo
push`
.
`vcsh
repo_name
push`
.
## 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:
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
vim $XDG_CONFIG_HOME/mr/available.d/foo.vcsh # add your own repo
vcsh init repo_name
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!
...
...
@@ -427,9 +428,9 @@ Neat.
After you have made some changes, for which you would normally use
`git add`
and
`git commit`
, use the vcsh wrapper (like above):
vcsh
foo
add bar baz quux
vcsh
foo
commit
vcsh
foo
push
vcsh
repo_name
add bar baz quux
vcsh
repo_name
commit
vcsh
repo_name
push
### Using vcsh without myrepos
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment