git
# add コマンドの実行結果を確認する # インデックスには追加されない $ git add -n * $ git add --dry-run * # インデックスへの追加 $ git add main.tex # インデックスから削除 $ git reset main.tex
Dropbox上に空のバックアップリポジトリを作る $ cd ~/Dropbox $ mkdir repository.git $ cd repository.git $ git --bare init パックアップリポジトリのクローンを作る $ git clone ~/Dropbox/repository.git/ gitrepos
用語 HEAD: 最新のコミット +--------------+ | HEAD | ... 最新のコミット +--------------+ || +--------------+ | イデックス | ... コミットのリクエスト +--------------+ || +--------------+ | ワークツリー | ... リポジトリの内容を展開したディレ…
バージョン管理システムとして Git を導入した. git のダウンロード $ sudo apt-get install git-core 初期設定 設定ファイルは以下のように生成する. git config --global user.name "your name" git config --global user.email "your@adress" git confi…