"How to Push a Next.js Project to GitHub - Quick and Easy Guide!"

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

Комментарии • 28

  • @faizashaukat4533
    @faizashaukat4533 13 дней назад +1

    Thanks u soo much for making this video...

  • @hamzaramzan7890
    @hamzaramzan7890 Месяц назад +2

    Thank yr itny din sy pareshan thy

  • @mahanadeem5911
    @mahanadeem5911 11 дней назад

    Thank u Soo much 🙂😊

  • @NadakhalilSheikh
    @NadakhalilSheikh Месяц назад +1

    Thanks Mohsin Bhai Soo informative vedio and thanks alot for helping me for code push😂

  • @Cricketvlogs333
    @Cricketvlogs333 Месяц назад +1

    Thank you

  • @absulsallam7808
    @absulsallam7808 Месяц назад +1

    Jazzak Allah ❤

  • @Darakhshan-jp4ms
    @Darakhshan-jp4ms Месяц назад +1

    Great👍

  • @sajjadzaidi-n4t
    @sajjadzaidi-n4t Месяц назад

    THANKS BROTHER MASLA HALL HO GAYA

  • @faizashaukat4533
    @faizashaukat4533 13 дней назад

    Moshiñ bhai kia aesa b huta ha k hmm folder push karain or phr oss ek repo me koi 3 commands last ki chala k apna project push karain kia wo method b sahi huga or kia phr oss project ko veecel par live b kar sakty ha plzz ans me

  • @mr_bunny_offical077
    @mr_bunny_offical077 22 дня назад +1

    Repo ki comand hain woh bhi run kar raha ho us mai bhi eroor a raha hain

  • @ramishatariq3221
    @ramishatariq3221 26 дней назад +1

    Next.js ky lhen new repo bnani prhegi old wali me push nahi kr skhty?

    • @TechMohsin581
      @TechMohsin581  26 дней назад

      @@ramishatariq3221 agr phly sy push ho to nh hogi ek folder ko ek bar push kr sakty hn

  • @Shazia_mohsin110
    @Shazia_mohsin110 Месяц назад

    Awsum👌🏻

  • @wajihanaz248
    @wajihanaz248 24 дня назад

    Git init karne p bolraha he git is not recognize as an internal or external command plz iska solution bataen

  • @magicalworld-pl8rd
    @magicalworld-pl8rd 9 дней назад +1

    Versel pe deploy nahi ho raha build error a rahe Han

    • @TechMohsin581
      @TechMohsin581  9 дней назад +1

      @@magicalworld-pl8rd tarminal me npm run build krn

    • @TechMohsin581
      @TechMohsin581  9 дней назад

      @@magicalworld-pl8rd chat.whatsapp.com/BaeLO7GqCJ97GBrpEwJj9f

  • @SHANEZEHRA-z5e
    @SHANEZEHRA-z5e Месяц назад +1

    Ager edit karns hai tu kiya kerey gsi

  • @hamzaramzan7890
    @hamzaramzan7890 Месяц назад +1

    Koi kuch btata ha aur koi kuch

  • @noobgamer33yt85
    @noobgamer33yt85 19 дней назад

    may nay nextjs ek repo create key or may chah tah hoon meri jitney bhi nextjs project hoon wo same repo may add kar na chahta repo name nextjs-by-sadiq how can i do this please help me

    • @TechMohsin581
      @TechMohsin581  19 дней назад

      To add multiple Next.js projects to the same repository ("nextjs-by-sadiq"), you can organize them as separate folders within the repo. Here’s how:
      Clone the Repository (if you haven’t already):
      bash
      Copy code
      git clone
      cd nextjs-by-sadiq
      Organize Projects as Folders:
      Create a folder for each project inside this repo. For example:
      bash
      Copy code
      mkdir project1
      mkdir project2
      Copy Project Files:
      Copy each Next.js project into its respective folder:
      bash
      Copy code
      cp -r /path/to/your/nextjs-project1/* ./project1
      cp -r /path/to/your/nextjs-project2/* ./project2
      Set Up Separate package.json for Each Project:
      Inside each project folder, ensure each project has its own package.json, node_modules, and .next folder to keep dependencies and builds isolated.
      Commit and Push Changes:
      Add, commit, and push the changes to your GitHub repository:
      bash
      Copy code
      git add .
      git commit -m "Add multiple Next.js projects"
      git push origin main