Advertisement
Guest User

Untitled

a guest
Jun 10th, 2017
532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.26 KB | None | 0 0
  1. Welcome to Git (version 1.7.0.2-preview20100309)
  2.  
  3.  
  4. Run 'git help git' to display the help index.
  5. Run 'git help <command>' to display help for specific commands.
  6.  
  7. bidhan@BIDHAN-PC ~
  8. $ cd Desktop/
  9.  
  10. bidhan@BIDHAN-PC ~/Desktop
  11. $ cd wordoff/
  12.  
  13. bidhan@BIDHAN-PC ~/Desktop/wordoff (master)
  14. $ dir
  15. sh.exe": dir: command not found
  16.  
  17. bidhan@BIDHAN-PC ~/Desktop/wordoff (master)
  18. $ git
  19. usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
  20. [-p|--paginate|--no-pager] [--no-replace-objects]
  21. [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]
  22. [--help] COMMAND [ARGS]
  23.  
  24. The most commonly used git commands are:
  25. add Add file contents to the index
  26. bisect Find by binary search the change that introduced a bug
  27. branch List, create, or delete branches
  28. checkout Checkout a branch or paths to the working tree
  29. clone Clone a repository into a new directory
  30. commit Record changes to the repository
  31. diff Show changes between commits, commit and working tree, etc
  32. fetch Download objects and refs from another repository
  33. grep Print lines matching a pattern
  34. init Create an empty git repository or reinitialize an existing one
  35. log Show commit logs
  36. merge Join two or more development histories together
  37. mv Move or rename a file, a directory, or a symlink
  38. pull Fetch from and merge with another repository or a local branch
  39. push Update remote refs along with associated objects
  40. rebase Forward-port local commits to the updated upstream head
  41. reset Reset current HEAD to the specified state
  42. rm Remove files from the working tree and from the index
  43. show Show various types of objects
  44. status Show the working tree status
  45. tag Create, list, delete or verify a tag object signed with GPG
  46.  
  47. See 'git help COMMAND' for more information on a specific command.
  48.  
  49. bidhan@BIDHAN-PC ~/Desktop/wordoff (master)
  50. $ git status
  51. # On branch master
  52. # Changed but not updated:
  53. # (use "git add <file>..." to update what will be committed)
  54. # (use "git checkout -- <file>..." to discard changes in working directory)
  55. #
  56. # modified: wordoff.py
  57. #
  58. # Untracked files:
  59. # (use "git add <file>..." to include in what will be committed)
  60. #
  61. # output - beautiful.html
  62. # output.html
  63. no changes added to commit (use "git add" and/or "git commit -a")
  64.  
  65. bidhan@BIDHAN-PC ~/Desktop/wordoff (master)
  66. $ git commit
  67. # On branch master
  68. # Changed but not updated:
  69. # (use "git add <file>..." to update what will be committed)
  70. # (use "git checkout -- <file>..." to discard changes in working directory)
  71. #
  72. # modified: wordoff.py
  73. #
  74. # Untracked files:
  75. # (use "git add <file>..." to include in what will be committed)
  76. #
  77. # output - beautiful.html
  78. # output.html
  79. no changes added to commit (use "git add" and/or "git commit -a")
  80.  
  81. bidhan@BIDHAN-PC ~/Desktop/wordoff (master)
  82. $ git tip
  83. git: 'tip' is not a git command. See 'git --help'.
  84.  
  85. Did you mean this?
  86. citool
  87.  
  88. bidhan@BIDHAN-PC ~/Desktop/wordoff (master)
  89. $ git
  90. usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
  91. [-p|--paginate|--no-pager] [--no-replace-objects]
  92. [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]
  93. [--help] COMMAND [ARGS]
  94.  
  95. The most commonly used git commands are:
  96. add Add file contents to the index
  97. bisect Find by binary search the change that introduced a bug
  98. branch List, create, or delete branches
  99. checkout Checkout a branch or paths to the working tree
  100. clone Clone a repository into a new directory
  101. commit Record changes to the repository
  102. diff Show changes between commits, commit and working tree, etc
  103. fetch Download objects and refs from another repository
  104. grep Print lines matching a pattern
  105. init Create an empty git repository or reinitialize an existing one
  106. log Show commit logs
  107. merge Join two or more development histories together
  108. mv Move or rename a file, a directory, or a symlink
  109. pull Fetch from and merge with another repository or a local branch
  110. push Update remote refs along with associated objects
  111. rebase Forward-port local commits to the updated upstream head
  112. reset Reset current HEAD to the specified state
  113. rm Remove files from the working tree and from the index
  114. show Show various types of objects
  115. status Show the working tree status
  116. tag Create, list, delete or verify a tag object signed with GPG
  117.  
  118. See 'git help COMMAND' for more information on a specific command.
  119.  
  120. bidhan@BIDHAN-PC ~/Desktop/wordoff (master)
  121. $ git status
  122. # On branch master
  123. # Changed but not updated:
  124. # (use "git add <file>..." to update what will be committed)
  125. # (use "git checkout -- <file>..." to discard changes in working directory)
  126. #
  127. # modified: wordoff.py
  128. #
  129. # Untracked files:
  130. # (use "git add <file>..." to include in what will be committed)
  131. #
  132. # output - beautiful.html
  133. # output.html
  134. no changes added to commit (use "git add" and/or "git commit -a")
  135.  
  136. bidhan@BIDHAN-PC ~/Desktop/wordoff (master)
  137. $ git log
  138. commit bf4b06f876d44e3661e1b4146ced01a6888af6df
  139. Author: Peter <Peter.Gijsels@gmail.com>
  140. Date: Fri Aug 20 14:44:04 2010 +0545
  141.  
  142. Removed beautiful soup directory.
  143.  
  144. commit 1905f01b4ed214af9cb26cb731bed18bb4f8f015
  145. Author: Peter <Peter.Gijsels@gmail.com>
  146. Date: Fri Aug 20 14:43:40 2010 +0545
  147.  
  148. Removed beautiful soup.
  149.  
  150. commit eaaf228bc2ae52e9e86590c7df23b191ec56eed9
  151. Author: Peter <Peter.Gijsels@gmail.com>
  152. Date: Fri Aug 20 14:16:26 2010 +0545
  153.  
  154. Added beautiful soup.
  155.  
  156. commit bdc3e3d5be98d6064ca2c87441917582ef37a889
  157. Author: Peter <Peter.Gijsels@gmail.com>
  158. Date: Fri Aug 20 13:08:22 2010 +0545
  159.  
  160. Added README
  161.  
  162.  
  163. bidhan@BIDHAN-PC ~/Desktop/wordoff (master)
  164. $ git commit
  165. # On branch master
  166. # Changed but not updated:
  167. # (use "git add <file>..." to update what will be committed)
  168. # (use "git checkout -- <file>..." to discard changes in working directory)
  169. #
  170. # modified: wordoff.py
  171. #
  172. # Untracked files:
  173. # (use "git add <file>..." to include in what will be committed)
  174. #
  175. # output - beautiful.html
  176. # output.html
  177. no changes added to commit (use "git add" and/or "git commit -a")
  178.  
  179. bidhan@BIDHAN-PC ~/Desktop/wordoff (master)
  180. $ git commit -a
  181. [master 708dbdd] removes redundant <b> tag
  182. Committer: unknown <bidhan@.(none)>
  183. Your name and email address were configured automatically based
  184. on your username and hostname. Please check that they are accurate.
  185. You can suppress this message by setting them explicitly:
  186.  
  187. git config --global user.name "Your Name"
  188. git config --global user.email you@example.com
  189.  
  190. If the identity used for this commit is wrong, you can fix it with:
  191.  
  192. git commit --amend --author='Your Name <you@example.com>'
  193. diff --git a/wordoff.py b/wordoff.py
  194. index 8e7f21e..b787a03 100755
  195. --- a/wordoff.py
  196. +++ b/wordoff.py
  197. @@ -24,7 +24,7 @@ f = open('input.html')
  198. input_html = f.read()
  199. f.close()
  200.  
  201. -result = remove_fonts(wordoff(input_html))
  202. +result = remove_fonts(wordoff(input_html)).replace("</b><b>","")
  203.  
  204. f = open('output.html', 'w')
  205. print >>f, result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement