Command executed to Remove LinkedIn Integration LinkedIn Automation code - surapuramakhil-org/Job_search_agent GitHub Wiki

wiki related to https://github.com/AIHawk-FOSS/Auto_Jobs_Applier_AI_Agent/wiki/Remove-LinkedIn-Integration

Detailed instructions of executed command instructions

rm -rf .git
git status #making sure it's not git repository
git init
deleted LinkedIn folder in job_portal
git add .
git commit -m "git tree reset - removing linked automation code"
git push -f #fail (didn't add remote repo)
git remote add origin https://github.com/AIHawk-FOSS/Auto_Jobs_Applier_AI_Agent.git
git push -f #fail main branch not mapped to origin

#list of command from my terminal history
git push --set-upstream origin main
git status
git fetch
git status
git status
git push
git push --set-upstream origin main #fail, it asked me to pull before push - releasing approach only clean main branch 
git pull main 
git pull
git pull origin main
clear
git push origin main --force

After deleting commit history form main, check GitHub other branches, they have git tree (all of the commit removed from main are there)

Preserved local version of those release branch, tried to see if we can remove LinkedIn code (but code branches aren't merged with main, not possible)

those release branches need to follow this wiki (what to do with you current working branches)

  • deleted those branches from remote
  • checked repo again, noticed there are still tags exits which can retrieve LinkedIn code back

executed following commands

git fetch --tags
git tag
git push --delete origin v11.15.2024
git push --delete origin v11.15.2024-pre
git push --delete origin v3