Changes between Version 79 and Version 80 of DeveloperGuidelines/Git
- Timestamp:
- 01/02/14 09:45:29 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Git
v79 v80 49 49 50 50 # Commit Code (Note, no pushes to GitHub here) 51 git commit -am "My Story: Part 1"51 git commit -am "My Changes: Part 1" 52 52 . 53 53 . 54 54 . 55 git commit -am "My Story: Part N"55 git commit -am "My Changes: Part N" 56 56 57 57 # Pull in changes from trunk … … 67 67 git log 68 68 69 # Squash commits 69 70 # Use rebase to squash commits to as few as possible to keep revision history clean & make it easier to review the work 70 71 # http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html 71 git rebase -i HEAD~N # Where N = Number of commits 72 git rebase -i HEAD~N # Where N = Number of commits to squash 72 73 73 74 # Push to your branch on GitHub