Local Repo Connect to a Remote Repository

.gitignore

# .gitignore
*.tsv
*.geojson

add, commit, push

branch

Force pull from a Git remote repository & discard all local changes

To force pull from a Git remote repository and discard all local changes, follow these steps carefully. This will overwrite your local files and history with the latest from the remote, so make sure you’re okay with losing any uncommitted local work.


🚨 WARNING:

This process will delete all local changes, including uncommitted and committed but not pushed changes.


✅ Steps to Force Pull and Recover Remote Repository:

git reset --hard
git clean -fd

2. Fetch latest remote data:

git fetch --all