Your desktop had 670 local commits that were never pushed to GitHub.
Your laptop was pulling from GitHub (which was stale), so it never saw those changes.
Result: two devices drifting further apart every day.
Open a terminal in C:\Users\marti\vif-trading-system and run:
git push origin mainThis pushes all 670 commits up to GitHub. After this, GitHub has the full, up-to-date codebase.
Then on your laptop, run:
git pull origin mainBoth devices are now in sync.
Double-click sync.bat (Windows) at the start and end of every work session.
It automatically:
- Commits any uncommitted local changes
- Fetches from GitHub
- Pulls new commits from the other device
- Pushes your local commits up
At the START of a session (get the other device's changes):
git pull origin mainAt the END of a session (send your changes to the other device):
git add -A
git commit -m "your message here"
git push origin mainPull before you start. Push when you're done.
If you always do this, the two devices will never diverge again.
These files are intentionally local-only and NOT synced via GitHub:
| What | Why |
|---|---|
.env |
Contains your API key — never put this on GitHub |
data/*.pkl, data/*.csv |
Cached market data — regenerates automatically |
reports/ |
Generated output — regenerates on each run |
logs/ |
Runtime logs — local only |
.claude/settings.local.json |
Machine-specific Claude settings |
venv/, env/ |
Python virtual environments — install fresh on each machine |
Important: After pulling on the laptop for the first time, you'll need to:
- Copy your
.envfile manually (or recreate it with your API key) - Run
pip install -r requirements.txtto install dependencies - Your
reports/andlogs/will be empty — that's normal, they'll fill up as the system runs
Both devices made commits at the same time. Fix:
git pull --rebase origin main # bring in remote changes first
git push origin main # now pushTwo devices edited the same file differently. Git will mark the conflicts inside the file. Open the file, look for <<<<<<, resolve it, then:
git add <file>
git rebase --continue # if you used --rebase
# or
git commit # if you used regular merge
git push origin mainYou're in the wrong folder. Make sure you're inside C:\Users\marti\vif-trading-system.
START of session: git pull origin main
END of session: git add -A && git commit -m "msg" && git push origin main
Or just: double-click sync.bat