<commit_before>﻿[<AutoOpen>]
module Fake.Git.Checkout

/// Checks a branch out
let checkoutTracked repositoryDir create trackBranch branch =
    gitCommandf repositoryDir "checkout --track -b %s %s" branch trackBranch


/// Checks a branch out
let checkout repositoryDir create branch =
    gitCommandf repositoryDir "checkout %s %s"
        (if create then "-b" else "")
        branch

/// Push all
let push repositoryDir = directRunGitCommand repositoryDir "push" |> ignore<commit_msg>Adding git pull.<commit_after>﻿[<AutoOpen>]
module Fake.Git.Checkout

/// Checks a branch out
let checkoutTracked repositoryDir create trackBranch branch =
    gitCommandf repositoryDir "checkout --track -b %s %s" branch trackBranch


/// Checks a branch out
let checkout repositoryDir create branch =
    gitCommandf repositoryDir "checkout %s %s"
        (if create then "-b" else "")
        branch

/// Push all
let push repositoryDir = directRunGitCommand repositoryDir "push" |> ignore

/// Pull
let pull repositoryDir remote branch = 
    directRunGitCommand repositoryDir (sprintf "pull %s %s" remote branch) |> ignore
{'fraction_non_alphanumeric': 0.09066427289048475, 'fraction_numerical': 0.0, 'mean_word_length': 3.7854077253218885, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '7368255', 'n_tokens_mistral': 319, 'n_tokens_neox': 308, 'n_words': 118}