Summary Table of Git Commands
(rr-vcs-git-summary)
Summary Table of Git CommandsΒΆ
Command  | 
Use  | 
|---|---|
  | 
Initialises a Git repository in that directory  | 
  | 
Adds all changes to the staging area to be committed  | 
  | 
Adds changes to the specified file to the staging area to be committed  | 
  | 
Commits staged changes and allows you to write a commit message  | 
  | 
Checks out a past commit with the given SHA  | 
  | 
Checks out the past version of a file from the commit with the given SHA  | 
  | 
Creates and switches to a new branch  | 
  | 
Switches to the specified branch  | 
  | 
Merges the branch you are on into the specified branch  | 
  | 
Outputs a log of past commits with their commit messages  | 
  | 
Outputs status, including what branch you are on and what changes are staged  | 
  | 
Outputs the differences between the working directory and most recent commit  | 
  | 
Outputs the differences between two things, such as commits and branches  | 
  | 
Makes a clone of the repository at the specified URL  | 
  | 
Links a local repository and an online repository at the specified URL  | 
  | 
Pushes local changes to the specified branch of the online repository  | 
  | 
Pull changes from the online repository into local repository  |