r-takahama / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#dotfiles

Usage

cd ~/
git clone add https://github.com/r-takahama/dotfiles.git
cd ~/dotfiles/
sh dotfilesSetup.sh

Memo

これとvim関連の参照元を以下にまとめる

mkdir ~/dotfiles
cd ~/dotfiles
touch _vimrc #.vimrcの実体_vimrcの作成
ln -s ~/dotfiles/_vimrc ~/.vimrc #ホームディレクトリから実体へのシンボリックリンクを張る
git init
git commit -m 'first commit'
git submodule add https://github.com/Shougo/neobundle.vim ~/dotfiles/vimfiles/bundle/neobundle.vim
git commit -m 'modified vimrc for added neobundle'
git remote add origin https://github.com/r-takahama/dotfiles.git
git push origin HEAD:master
  • src refspec master does not match any when pushing commits in git
    • レポジトリ・ローカルディレクトリの作成を終えて、git push origin mastarしようとした際起きたエラーに対処するのに用いた。 二つ目の解答が参考になり、git push origin HEAD:masterとしたらpushできた。

About


Languages

Language:Vim Script 57.6%Language:Shell 37.9%Language:Perl 4.5%