Playing with git


cd ~/public_html/
mkdir deal2Rai
cd deal2Rai/
git clone https://github.com/GreatDevelopers/dealii.git
cd dealii
git checkout dealii-8.1
cd deal.II/examples/
mkdir gdStep-1a
cp step-1/*.* gdStep-1a/
cd gdStep-1a/
// Edit files
cmake .
make
make run
// Remove extra files
rm grid-*
git status
git config --global --edit
git commit --amend --reset-author
git commit -m "Example step-1 is simplified and devided in to two parts"
git push -u origin dealii-8.1

Published by hsrai

Civil Engineer serving Engineering College in India. Employing free (GPL and OpenSource) software.

Leave a comment