]>
git.madduck.net Git - code/vcsh.git/commitdiff
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
900b211 )
Make sure none of the following files/diretories exist for your test (user). If they do, move them away for now:
Make sure none of the following files/diretories exist for your test (user). If they do, move them away for now:
apt-get install mr # this is optional, but highly recommended
apt-get install mr # this is optional, but highly recommended
-## Clone the template ##
+## 1.2 Clone the template ##
mkdir -p ~/work/git
cd !$
mkdir -p ~/work/git
cd !$
cd
vcsh clone git://github.com/RichiH/vcsh_mr_template.git mr.vcsh
cd
vcsh clone git://github.com/RichiH/vcsh_mr_template.git mr.vcsh
-## Enable your test repository ##
+## 1.3 Enable your test repository ##
mv ~/.zsh ~/zsh.bak
mv ~/.zshrc ~/zshrc.bak
mv ~/.zsh ~/zsh.bak
mv ~/.zshrc ~/zshrc.bak
-## Set up your own repositories ##
+## 1.4 Set up your own repositories ##
Now, it's time to edit the template config and fill it with your own remotes:
Now, it's time to edit the template config and fill it with your own remotes:
-### Keeping repositories up-to-date ###
+### 1.5.1 Keeping repositories up-to-date ###
This is the beauty of it all. Once you are set up, just run:
This is the beauty of it all. Once you are set up, just run:
+### 1.5.2 Making changes ###
After you have made some changes, for which you would normally use `git add` and `git commit`, use the vcsh wrapper (like above):
After you have made some changes, for which you would normally use `git add` and `git commit`, use the vcsh wrapper (like above):
It helps you manage a large number of repositories by running the necessary vcsh commands for you.
You may choose not to use mr, in which case you will have to run those commands manually or by other means.
It helps you manage a large number of repositories by running the necessary vcsh commands for you.
You may choose not to use mr, in which case you will have to run those commands manually or by other means.
+## 4.1 A few examples ##
To initialize a new repository: `vcsh init zsh`
To initialize a new repository: `vcsh init zsh`