Skip to content

Commit 6ffaf62

Browse files
committed
This should checkout pages...
1 parent f79935d commit 6ffaf62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

make

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ def to_markdown(text):
7878

7979
def merge_pages():
8080
git = subprocess.Popen(['git', 'status'], stdout=subprocess.PIPE)
81-
8281
result = git.communicate()[0].strip().split('\n')
8382
if not result[-1].startswith('nothing to commit'):
8483
print 'ERROR: Please commit to master first'
@@ -105,6 +104,8 @@ def merge_pages():
105104

106105

107106
def merge_git():
107+
git = subprocess.Popen(['git', 'checkout', 'gh-pages'], stdout=subprocess.PIPE)
108+
print git.communicate()[0].strip().split('\n')
108109
return 0
109110

110111

0 commit comments

Comments
 (0)