Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
csev committed Jul 6, 2024
1 parent a6910db commit 26fb305
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions GIT_TIPS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,14 @@ as follows:
git diff .
git commit .


Making a branch

git checkout -b SAK-12345

Gitting a diff from already committed changes. Do a

git log

Find the commit sha and then:
Getting a diff of the most recent(1) commit

git diff 74fb...b752^ 74fb...b752
git diff HEAD~1

Switching to a branch

Expand Down

0 comments on commit 26fb305

Please sign in to comment.