How Drag or copy and paste folders and files when uploading? #149294
Replies: 3 comments 2 replies
-
|
When uploading folders or files, ensure that your platform allows for drag-and-drop or copy-paste. The majority of contemporary browsers support cloud services like OneDrive and Google Drive. Just pick the files or folders you want and drag them into the upload window. To copy and paste more effectively, use the "Ctrl+C" and "Ctrl+V" shortcuts. |
Beta Was this translation helpful? Give feedback.
-
|
It seems like you were trying to drag and drop files directly into GitHub's web interface, using a method demonstrated in a Udemy video. While this might seem like a quick solution, this is not the proper way to upload files to GitHub for version control. GitHub primarily works with Git and its command-line interface for managing code and files. Correct Way to Upload Files to GitHubTo properly upload and manage files on GitHub, you need to use Git to track and commit your changes. Here's the typical process:
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks so much for the information…I managed to drag the files from my downloads folder in file explorer…But first I had to select the required file and issue a copy command…Then the required file became an icon and so I could drag and drop it into GitHub….After that I had no problems creating a branch.
Once again many thanks for taking the time to help me…It’s very kind of you and I appreciate it very much.
…Sent from my iPhone
On 17 Jan 2025, at 3:57 am, Damian Żyłka ***@***.***> wrote:
It seems like you were trying to drag and drop files directly into GitHub's web interface, using a method demonstrated in a Udemy video. While this might seem like a quick solution, this is not the proper way to upload files to GitHub for version control. GitHub primarily works with Git and its command-line interface for managing code and files.
Correct Way to Upload Files to GitHub
To properly upload and manage files on GitHub, you need to use Git to track and commit your changes. Here's the typical process:
1. Clone the Repository (if you haven't already)
git clone <repository-url>
2. Navigate to Your Repository
cd <repository-folder>
3. Add Your Files
You can add files using the git add command:
git add .
4. Commit Your Changes
After adding the files, you need to commit them:
git commit -m "Your commit message"
5. Push the Changes to GitHub
Finally, push your commit to GitHub:
git push origin <branch-name>
—
Reply to this email directly, view it on GitHub<#149294 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BFFWOA7BTTCW2K4GU6A55O32K7QILAVCNFSM6AAAAABVIYB47SVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOBVG4ZDINI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I can't upload my files and folders using snippit or copy and paste from file explorer...I'm using windows 10....Any help would be gratefully appreciated..
Beta Was this translation helpful? Give feedback.
All reactions