Skip to content

Instantly share code, notes, and snippets.

@ebresafegaga
Last active July 22, 2022 16:21
Show Gist options
  • Save ebresafegaga/2dfaaf158b4ca251bbaf69c36102cd0e to your computer and use it in GitHub Desktop.
Save ebresafegaga/2dfaaf158b4ca251bbaf69c36102cd0e to your computer and use it in GitHub Desktop.
little shell script
#! /bin/sh
for line in `echo add.txt | cat | awk '{print $2}'`; do
git add "$line"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment