- Git 10
531 :デフォルトの名無しさん[sage]:2014/09/04(木) 17:16:52.33 ID:so/xiuM/ - git init
touch README.md git add -A git commit -m "Initial commit" git checkout -b dev touch hello.php git add -A git commit -m "added: hello.php" touch hello.rb git add -A git commit -m "added: hello.rb" git rebase -i HEAD~2 ここでエディタが立ち上がるので 修正前------------------------ pick a1f4923 added: hello.php pick d5859a1 added: hello.rb 修正後------------------------ pick a1f4923 added: hello files fixed d5859a1 added: hello.rb ------------------------------ 修正して保存してエディタを閉じる git checkout master git merge dev git branch -d dev
|