beefyi

Sync a Fork from Upstream

Add the upstream remote first:

git remote add upstream <URL>

Fetch only the upstream master branch with limited history:

git fetch --depth=1 upstream master

Then push your branch carefully:

git push --force-with-lease