title | revealOptions | ||
---|---|---|---|
Github and git concepts |
|
github vs git? clone? commit? branch? PR? Outside changes?
- Github: web interface to git (+ special sauce)
- git: used to track revisions in code, works on text, images etc
- copies a repository remote server -> your computer
- is complete copy of every change, ever
- changes made (aka in your clone) only exist locally until you
commit
andpush
them
- changes are recorded to your clone when you
commit
them - shared changes by
push
ing your commits back to where you cloned from - any changes you make can be reverted at any time
- any changes you do not
push
can not be seen by others
- branches normally capture a logical chunk of work (ie a ticket)
- branches normally have a ticket in their name:
6724-MNCH-docs
- all branches exist locally, both
master
and any new ones like6724-MNCH-docs
- allows others to view your work (and even add commits!)
- explicitly created to get feedback on a request to merge changes to
master
- allow you to view and comment on a series of commits.
- not part of git, provided by Github
- other users can comment and request changes in a PR
- multiple commits may be added over time to address feedback
- changes to master
- changes on your branch
- By: mrjones
- Source: app-building repo
- Made: reveal-md