In [ ]:
!date #last update

Required:


In [ ]:
import os.path, gitpath #pip install git+'https://github.com/ruxi/python-gitpath.git'
os.chdir(gitpath.root()) # changes path to .git root
#os.getcwd() #check current work directory

TODO

by Ruxi

Feb 8, 2016

Tasks

  • install jekyll
  • create js folder
  • make webapps.html

Version control

Saving


In [18]:
py_commit_msg = """
templating py_commit_msg
"""

In [21]:
%%bash -s "$py_commit_msg"
echo $1
git add --all :/
git commit -a -m "$1" #message from py_commit_msg
git push origin master


templating py_commit_msg
[master b295fba] templating py_commit_msg
 2 files changed, 135 insertions(+), 22 deletions(-)
To git@github.com:ruxi/ruxi.github.io.git
   cab82fa..b295fba  master -> master

Pulling

git fetch --all
git pull origin master

In [ ]: