Git: Difference between revisions

From Adam Colton
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
Standards Used: these are git commands, there for they come after "git". Anything in parenthesis are arguments, the parenthesis are not included. Anything after : is an explanation.
Standards Used: these are git commands, there for they come after "git". Anything in parenthesis are arguments, the parenthesis are not included. Anything after : is an explanation.


* reset (filename) : Unstages a change.
* status : shows unstaged changes
* add (filename) : stages a change
* reset (filename) : Unstages a change
 
== Concepts ==
 
=== Stage ===
Changes are made locally, staged and then committed. Staging is the process of preparing part (or all) of your change to be commited.


[[Category:Code]]
[[Category:Code]]
[[Category:Notes]]
[[Category:Notes]]

Revision as of 15:49, 6 June 2013

Commands

Standards Used: these are git commands, there for they come after "git". Anything in parenthesis are arguments, the parenthesis are not included. Anything after : is an explanation.

  • status : shows unstaged changes
  • add (filename) : stages a change
  • reset (filename) : Unstages a change

Concepts

Stage

Changes are made locally, staged and then committed. Staging is the process of preparing part (or all) of your change to be commited.