Skip to content

Commit

Permalink
Update Common Commands.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chhavip authored Sep 11, 2016
1 parent 412bf5d commit 9f5183e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Common Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,17 @@
* `git diff` : Shows file differences not yet staged.
* `git diff --base <filename>` : View the changes against the base file.
* `git diff <sourcebranch> <targetbranch>` : View changes in source branch against a target.
* `git log` : View summary of all commits made so far in the current branch.

##Making changes
* Adding Files
* `git add <filename>` :
* `git add .`
* Stashing Changes
* `git stash`
* `git stash pop`
* Committing Files
* `git commit -m "[descriptive message]"`
* Unstaging Files
* `git reset <filename>`

0 comments on commit 9f5183e

Please sign in to comment.