django web project saving/uploadig to a git repository #187205
Replies: 9 comments 1 reply
-
Django Project Not Uploading to GitHubHi 👋 If dragging files or using “Choose files” isn’t working, here are the common reasons and fixes. 🚫 1. Project Is Too LargeGitHub has limits:
Check if your project contains:
These should NOT be uploaded. ✅ 2. Use Git Properly (Recommended Way)Instead of dragging files in the browser, use Git from your project folder: git init
git add .
git commit -m "Initial commit"
git branch -M main
git remote add origin https://github.com/yourusername/yourrepo.git
git push -u origin main |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, will try, hopefully it will copy the folder structure. |
Beta Was this translation helpful? Give feedback.
-
|
Got as far as ok git push -u origin main But in command window password for ‘https://… : thanks in advance |
Beta Was this translation helpful? Give feedback.
-
|
To save your Django project to a GitHub repository, follow these steps: 1. Create a new repository on GitHub. 2. In your project folder, run |
Beta Was this translation helpful? Give feedback.
-
|
It’s asking for password (token) |
Beta Was this translation helpful? Give feedback.
-
|
👋 Welcome to the GitHub Community, @house-number! Congratulations on your first post! 🎉 After running 📌 Username: Type your GitHub username (the one you log into github.com with) and press Enter. 📌 Password: 🛠️ How to Create Your Personal Access Token
Important Copy your token RIGHT NOW! You will never see it again once you leave this page. Store it somewhere safe. ✅ Now Use It
✅ If everything worked, your code will be uploaded to GitHub! 📚 Helpful ResourcesLet us know if you get stuck on any step! Good luck! 🚀 |
Beta Was this translation helpful? Give feedback.
-
|
Hi, If you’re trying to upload a Django project to a GitHub repository using the web interface (“Upload files” or drag-and-drop) and it’s not working, a few common reasons could be:
If it still doesn’t work, sharing any error message you see would help others diagnose the issue more precisely. |
Beta Was this translation helpful? Give feedback.
-
|
Hi,
Thanks for advice, I’ve tried several times.
Entered the various git functions (following instructions ) and the results were good and responses matched as expected.
but git failed on the push function , after trying to paste the password/token when requested
The token is not working, I don’t think it’s possible to paste the token into this command shell , tried shift - Ctrl - V
I’m using Ubuntu it’s a Linux operating system - wsl - windows.
I don’t think GitHub or git will operate in this command shell - it’s Linux, it’s different to power shell.
Is there an alternative engineering method that will work with Ubuntu - running in wsl, that will allow me to push my project to GitHub
repository?
this is was tested in an active virtual environment , maybe this is the problem?
Thanks
|
Beta Was this translation helpful? Give feedback.
-
|
Hi some extra info When typing in the token using the keyboard , the cursor does not move or step to right. the cursor remains fixed/frozen on the screen - next to the colon : it’s unlikely any password is being entered. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Hi,
I'm trying to copy a copy/upload a copy of my django web project to a git repository.
i've tried
choose files
and
dragging them across which appeared to highlight a dashed line
but to no avail,
can anyone advise why git is not uploading my django project
thanks in adavance
Beta Was this translation helpful? Give feedback.
All reactions