commits and work cycle
play

Commits and work cycle Presenter: Steve Baskauf - PowerPoint PPT Presentation

Commits and work cycle Presenter: Steve Baskauf steve.baskauf@vanderbilt.edu CodeGraf landing page vanderbi.lt/codegraf What is a commit? Branches and commits branch commits time Markdown markup syntax Markdown basics (GitHub flavored


  1. Commits and work cycle Presenter: Steve Baskauf steve.baskauf@vanderbilt.edu

  2. CodeGraf landing page • vanderbi.lt/codegraf

  3. What is a commit?

  4. Branches and commits branch commits time

  5. Markdown markup syntax

  6. Markdown basics (GitHub flavored Md) • headings # level 1 ## level 2 ### level 3 • text enhancements *italics* **bold** `inline code` • unordered bulleted list - item 1 - item 2 - item 3

  7. GitHub flavored Markdown (cont.) • line breaks line 1 line 2 • hyperlink [link text](url) • table | header1 | header2 | | --- | --- | | row1cell1 | row1cell2 | | row2cell1 | row2cell2 |

  8. Committing online

  9. The World of Git and GitHub web repository on GitHub interface direct commit online pull push Git drive staging repository on local drive folder add file commit area

  10. Code editors

  11. Code editors • code editors do not add nasty "invisible" characters to documents (as does Microsoft Word) • full-featured code editors provide automatic formatting and syntax highlighting based on the type of document you are editing

  12. Recommended code editors • Atom • Created by the GitHub team, so can interact in special ways with GitHub • Has an easy-to-use Markdown preview so that you can see how your markup will look • Has cuter emblems! • https://atom.io/ • VS Code • Very full featured and has powerful tools for debugging some coding languages • https://code.visualstudio.com/

  13. Work cycle

  14. The World of Git and GitHub web repository on GitHub interface direct commit pull push Git drive staging repository on local drive folder add file commit area

  15. select repo and branch to Work cycle work on (if necessary) (time elapses) possible changes by others or you pull changes Github elsewhere from GitHub work (time elapses) cycle push edits edit to GitHub commit • Always start a work session by pulling changes from GitHub • Always end a work session by pushing changes to GitHub

Recommend


More recommend