Created
March 7, 2011 05:46
-
-
Save nylen/858130 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
james@debbay:~/.vim$ git status | |
# On branch master | |
# Your branch is ahead of 'origin/master' by 2 commits. | |
# | |
nothing to commit (working directory clean) | |
james@debbay:~/.vim$ mkdir bundle; cd bundle | |
james@debbay:~/.vim/bundle$ git submodule init git://github.com/tpope/vim-abolish.git | |
You need to run this command from the toplevel of the working tree. | |
james@debbay:~/.vim/bundle$ git clone git://github.com/tpope/vim-abolish.git | |
Cloning into vim-abolish... | |
remote: Counting objects: 37, done. | |
remote: Compressing objects: 100% (17/17), done. | |
remote: Total 37 (delta 8), reused 37 (delta 8) | |
Receiving objects: 100% (37/37), 12.28 KiB, done. | |
Resolving deltas: 100% (8/8), done. | |
james@debbay:~/.vim/bundle$ cd .. | |
james@debbay:~/.vim$ git add bundle | |
james@debbay:~/.vim$ git status | |
# On branch master | |
# Your branch is ahead of 'origin/master' by 2 commits. | |
# | |
# Changes to be committed: | |
# (use "git reset HEAD <file>..." to unstage) | |
# | |
# new file: bundle/vim-abolish | |
# | |
james@debbay:~/.vim$ git commit -m "Add tpope's abolish" | |
[master 30c96e3] Add tpope's abolish | |
1 files changed, 1 insertions(+), 0 deletions(-) | |
create mode 160000 bundle/vim-abolish | |
james@debbay:~/.vim$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Questions:
git submodule init
fail? [I was doing it wrong]Follow-up at https://gist.github.com/858131