Difference between revisions of "Git command summary"

From Jens' Hjørne
Jump to navigation Jump to search
m
m
Line 15: Line 15:
  
 
===Push===
 
===Push===
−
  '''git pish'''
+
  '''git push'''
  
 
[[Category:Værktøjer, Programmering]][[Category:Keyboard shortcuts]]
 
[[Category:Værktøjer, Programmering]][[Category:Keyboard shortcuts]]

Revision as of 11:01, 14 February 2017

Branching

Create branch

git branch branch-name

Display branches

git branch

Switch branch

git checkout branch-name

Committing

Commit

git commit -m "Commit message goes here."

Push

git push