---
layout: post
title: Git Notes
category: posts
---

## UAT
> Creating User Acceptance Testing site

1. Delete *new* branch

        git push origin :new
        git branch -D new

2. Create *new* branch

        git checkout -b new origin/trunk

3. Merge in any test branches

        git merge <test feature>

4. Update version number

        .\UpdateVersionNumber.exe --version=2.0.3.2

5. Add to source control

        git add .

6. Commit

        git commit -m '[deploy: new]'

7.  Push

        git push -u origin new


---
layout: post
title: Git Notes
category: posts
---

## Commit Mesages
> If applied, this commit will *your subject line here*

For example:

- If applied, this commit will *refactor subsystem X for readability*
- If applied, this commit will *update getting started documentation*
- If applied, this commit will *remove deprecated methods*
- If applied, this commit will *release version 1.0.0*
- If applied, this commit will *merge pull request #123 from user/branch*

```
commit eb0b56b19017ab5c16c745e6da39c53126924ed6
Author: Pieter Wuille <pieter.wuille@gmail.com>
Date:   Fri Aug 1 22:57:55 2014 +0200

   Simplify serialize.h's exception handling

   Remove the 'state' and 'exceptmask' from serialize.h's stream
   implementations, as well as related methods.

   As exceptmask always included 'failbit', and setstate was always
   called with bits = failbit, all it did was immediately raise an
   exception. Get rid of those variables, and replace the setstate
   with direct exception throwing (which also removes some dead
   code).

   As a result, good() is never reached after a failure (there are
   only 2 calls, one of which is in tests), and can just be replaced
   by !eof().

   fail(), clear(n) and exceptions() are just never called. Delete
   them.
```

## UAT
> Creating User Acceptance Testing site

1. Delete *new* branch

        git push origin :new
        git branch -D new

2. Create *new* branch

        git checkout -b new origin/trunk

3. Merge in any test branches

        git merge <test feature>

4. Update version number

        .\UpdateVersionNumber.exe --version=2.0.3.2

5. Add to source control

        git add .

6. Commit

        git commit -m '[deploy: new]'

7.  Push

        git push -u origin new


Add guidance on writing a good commit message
Add guidance on writing a good commit message
