Skip to content

Git commands

Barry edited this page May 14, 2019 · 1 revision

When beginning a new piece of development in the learn-web-development repo, follow these steps

  1. git checkout master
  2. git checkout -b "name-of-my-new-branch"
  3. Make some changes
  4. git add --all
  5. git commit -m "message to go with commit"
  6. git push -u origin HEAD

References https://stackoverflow.com/a/38198351 https://github.com/isaacs/github/issues/1125

Clone this wiki locally