datablations/python-megatron
12k
1#!/bin/bash2 3# List of untracked files4untracked_files=$(git status --porcelain | awk '{print $2}' | grep '^python84b/gpt2tok_python_84B_content_document.bin\.')5 6# Loop through each untracked file7for file in $untracked_files; do8 # Track the file using git lfs9 git lfs track "$file"10 11 # Add the file12 git add "$file"13 14 # Commit the changes15 git commit -m "Add $file"16 17 # Push the changes18 git push19 20 echo "Pushed $file"21 22 # Sleep for a moment to prevent potential resource exhaustion23 sleep 124done25 