Skip to content

Latest commit

 

History

History
109 lines (91 loc) · 2.25 KB

main.org

File metadata and controls

109 lines (91 loc) · 2.25 KB

Git management related:

List of files to add, remove and ignore:

The commit message:

Every dream 2 working

Files to add:

activate.sh
configs.py
.gitignore
image_reorganize.org
install.sh
main.org
run.sh
README.org

Files to remove:

#main.org#
.#main.org
main.org~
.main.org.~undo-tree~
.README.org.~undo-tree~

Files to ignore:

EveryDream2trainer
every_dream_output/
git_add.sh
git_add.txt
#main.org#
message.txt
#README.org#
README.org~
rm.sh
rm.txt
shrc_activate.sh
shrc_install.sh
tmp.sh
trained_models/
v1-inference.yaml

The actual scripts to do the dirty work:

Files to add:

sed "s/^/(git add '/g ; s/\$/');/g" 'git_add.txt' | sh

Files to remove:

sed "s/^/(rm -vf -- '/g ; s/\$/');/g" 'rm.txt' | sh

Make all the changes and check status:

This file stuff:

(save-buffer) 
(save-some-buffers) 
(org-babel-tangle)

Run the git management parts:

./git_add.sh
./rm.sh
git status

Commit the changes and push:

git commit -m "$(cat 'message.txt')"
# git remote add origin '[email protected]:aravind-h-v/every_dream_2.git'
git push -u origin master