diff --git a/.gitignore b/.gitignore index b0439d9..defcf3f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,66 @@ +# ========================= +# Python bytecode & cache +# ========================= __pycache__/ +*.py[cod] +*$py.class *.pyc + +# ========================= +# OS / IDE +# ========================= .DS_Store +.vscode/ +.idea/ + +# ========================= +# Build / dist +# ========================= +*.egg-info/ +dist/ +build/ +*.tar.gz + +# ========================= +# Virtual environments +# ========================= +env/ +venv/ +.venv/ + +# ========================= +# ARCHCode specific +# ========================= .arch_runs/ .archcode/archive/ .pytest_cache/ + +# Autoriser ce fichier malgré .archcode/* +!.archcode/context_snapshots/ + +# ========================= +# Secrets & config sensibles +# ========================= +.env +*.key +*.pem +*.crt + +# Bytecode python +__pycache__/ +*.py[cod] +*$py.class + +# OS & IDE +.DS_Store .vscode/ .idea/ + +# ARCHCode +.arch_runs/ +.archcode/archive/ + +# Python env env/ venv/ .venv/ @@ -14,13 +69,6 @@ dist/ build/ *.tar.gz +# Keep snapshots !.archcode/context_snapshots/ -cat >> .gitignore <<'EOF' -# Bytecode python -__pycache__/ -*.py[cod] -*$py.class -EOF__pycache__/ -*.py[cod] -*$py.class diff --git a/Git_help.txt b/Git_help.txt index 8b29416..a68d34a 100644 --- a/Git_help.txt +++ b/Git_help.txt @@ -99,10 +99,22 @@ stager tout et committer 0/ commande unique (à faire dans mARCHCode) + +cela crée une nouvelle + +git checkout -b archcode-self/local-runX && git add -A && git commit -m "chore(run): commit local run artifacts and fixes" && git push --set-upstream origin archcode-self/local-run + +pour repartir d'une branche existante, faire +git add -A && git commit -m "chore(git): update .gitignore and Git_help.txt" && git checkout archcode-self/local-run && git add -A && git commit -m "chore(run): commit local run artifacts and fixes" && git push --set-upstream origin archcode-self/local-run2 + + + +======= changer éventuellement le nom de la branche archcode-self/local-run git checkout -b archcode-self/local-run2 && git add -A && git commit -m "chore(run): commit local run artifacts and fixes" && git push --set-upstream origin archcode-self/local-run + et vérifier éventuellement avec git status