<commit_before># gitversion
Automatically generate gitversion (like svnversion) as Xcode project's build number

## Core Commands

### Generate gitversion from HEAD commit


```
gitversion git:(master) $ git rev-list --count HEAD
4
```

### Parse gitversion to commit

```
gitversion git:(master) $ git log --reverse --oneline|head -n 4|tail -n 1
fc88c71 code snippet of the way to integrate gitversion as BuildNumber in Xcode
```

## References

- [svnversion](http://svnbook.red-bean.com/en/1.7/svn.ref.svnversion.re.html)
- [git rev-list](https://git-scm.com/docs/git-rev-list)
- [git log](https://git-scm.com/docs/git-log)
<commit_msg>add reference to Xcode info.plist script<commit_after># gitversion
Automatically generate gitversion (like svnversion) as Xcode project's build number

## Core Commands

### Generate gitversion from HEAD commit


```
gitversion git:(master) $ git rev-list --count HEAD
4
```

### Parse gitversion to commit

```
gitversion git:(master) $ git log --reverse --oneline|head -n 4|tail -n 1
fc88c71 code snippet of the way to integrate gitversion as BuildNumber in Xcode
```

## References

- [iOS: Changing info.plist during build phase](https://stackoverflow.com/questions/6912743/ios-changing-info-plist-during-build-phase/26354117#26354117)
- [svnversion](http://svnbook.red-bean.com/en/1.7/svn.ref.svnversion.re.html)
- [git rev-list](https://git-scm.com/docs/git-rev-list)
- [git log](https://git-scm.com/docs/git-log)

{'fraction_non_alphanumeric': 0.14599040438656613, 'fraction_numerical': 0.02810143934201508, 'mean_word_length': 4.387453874538745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6357796', 'n_tokens_mistral': 540, 'n_tokens_neox': 486, 'n_words': 129}