<commit_before>[main]
name=git
desc=My awesome git cheatsheet
[cheats]
Add file to staging area = git add filename
Delete a branch = git branch -d branchname<commit_msg>Added some cheats to the sheet. Cause after all that's what it's for.<commit_after>[main]
name=git
desc=My awesome git cheatsheet
[cheats]
Add file to staging area = git add filename
Delete a merged branch = git branch -d branchname
Temporarily stores all modified tracked files = git stash
Lists all stashed changesets = git stash list
Undo all commits after = git reset 'commit'
Revert a commit with new commit = git revert 'commit'
Set editor for commits = git config --global core.editor vi
Push to diffent branch = git push origin experimental
{'fraction_non_alphanumeric': 0.05718270571827057, 'fraction_numerical': 0.0, 'mean_word_length': 4.933884297520661, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3530595', 'n_tokens_mistral': 205, 'n_tokens_neox': 196, 'n_words': 104}