In [1]:
    
!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
    
by Ruxi
Feb 8, 2016
In [2]:
    
## Ref
 - http://jekyllrb.com/docs/installation/
 - http://jmcglone.com/guides/github-pages/
    
In [ ]:
    
    
Saving
In [18]:
    
py_commit_msg = """
Install Jekyll
"""
    
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
    
    
    
Pulling
git fetch --all
git pull origin master
In [ ]: