Unable to push ERPnext and Frappe to my Personal GitHub Repo

Dear Team,
I have tried many things but got stuck at this point while pushing code on my personal Repo on GitHub
Please help me to resolve this error is here

(env) bitnami@debian:/opt/bitnami/erpnext/frappe-bench/apps/frappe$ git remote -v

upstream GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript (fetch)
upstream GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript (push)

(env) bitnami@debian:/opt/bitnami/erpnext/frappe-bench/apps/frappe$ git remote rm upstream
(env) bitnami@debian:/opt/bitnami/erpnext/frappe-bench/apps/frappe$ git remote add main https://github.com/rkroy39/frappe.git

(env) bitnami@debian:/opt/bitnami/erpnext/frappe-bench/apps/frappe$ git remote -v

main https://github.com/rkroy39/frappe.git (fetch)
main https://github.com/rkroy39/frappe.git (push)

(env) bitnami@debian:/opt/bitnami/erpnext/frappe-bench/apps/frappe$ git fetch --unshallow https://github.co
m/rkroy39/frappe.git
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
Unpacking objects: 100% (3/3), 864 bytes | 288.00 KiB/s, done.
From https://github.com/rkroy39/frappe

  • branch HEAD → FETCH_HEAD


env) bitnami@debian:/opt/bitnami/erpnext/frappe-bench/apps/frappe$ git push --set-upstream main Gaurav
Enumerating objects: 3276, done.
Counting objects: 100% (3276/3276), done.
Compressing objects: 100% (2747/2747), done.
Writing objects: 100% (3274/3274), 15.38 MiB | 69.06 MiB/s, done.
Total 3274 (delta 430), reused 3238 (delta 413), pack-reused 0
remote: Resolving deltas: 100% (430/430), done.
remote: fatal: did not receive expected object bae8ab9d0f9f7c4f35e4f1f22e5e3041ae9ab2f2
error: remote unpack failed: index-pack failed
To https://github.com/rkroy39/frappe.git
! [remote rejected] Gaurav → Gaurav (failed)
error: failed to push some refs to ‘https://github.com/rkroy39/frappe.git

It is resolved.

I used wrong url for unshallow . Instead to frappe repo i used my repo thus problem was there.


(env) bitnami@debian:/opt/bitnami/erpnext/frappe-bench/apps/frappe$ git fetch --unshallow GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
remote: Enumerating objects: 43302, done.
remote: Counting objects: 100% (31715/31715), done.
remote: Compressing objects: 100% (8660/8660), done.
remote: Total 28322 (delta 23100), reused 24665 (delta 19582), pack-reused 0 (from 0)
Receiving objects: 100% (28322/28322), 42.08 MiB | 10.13 MiB/s, done.
Resolving deltas: 100% (23100/23100), completed with 1528 local objects.
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript

  • branch HEAD → FETCH_HEAD

(env) bitnami@debian:/opt/bitnami/erpnext/frappe-bench/apps/frappe$ git push --set-upstream main Gaurav
Enumerating objects: 365129, done.
Counting objects: 100% (365129/365129), done.
Compressing objects: 100% (77284/77284), done.
Writing objects: 100% (365129/365129), 321.53 MiB | 72.58 MiB/s, done.
Total 365129 (delta 286806), reused 364415 (delta 286112), pack-reused 0
remote: Resolving deltas: 100% (286806/286806), done.
remote:
remote: Create a pull request for ‘Gaurav’ on GitHub by visiting:
remote: https://github.com/rkroy39/frappe/pull/new/Gaurav
remote:
To https://github.com/rkroy39/frappe.git

  • [new branch] Gaurav → Gaurav
    Branch ‘Gaurav’ set up to track remote branch ‘Gaurav’ from ‘main’.