I have a free version github account where I created a repo and I need to add a 670KB text file (it has test data) into this repo. I use IE browser and Windows XP OS, and haven't downloaded or installed any gihub software or app into my local system.
How do you directly upload the file into the repo without creating a file and then copying the content?
Github is supposed to be used wit git, a version control system. You need to use git in order to download/upload/update files inside a github repo.
You can also create a file directly inside Github by clicking on the little button on the right of your repo's name:
And then you can modify it inside Github by clicking on it.
Related
I have files in repository. I want them to be grouped inside a folder. How can I do this?
It seems that I need to add new file if I want to create a folder.
From how you worded your question, it seems like you're trying to work on github directly from the website.
The usual way github works is:
if you have a repo on github and you want to modify it, first 'clone' the repo into your local computer,
use these instructions https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository
then just change folder structure like you would normally on File Explorer (windows) or Finder (mac),
then follow the commit instructions and 'push' up your changes to github
use these instructions
check status of your recent changes:
git status
add the files that you want to include in the commit
git add nameOfFile
check status and the file you want to include should now be green
git status
use this to send to github
git push
Overall github docs here:
https://learn.microsoft.com/en-us/training/modules/introduction-to-github/
is there a way to browse ".attachments" folder from the Azure DevOps wiki page?
I insert images, later want to check folder content but not find a way to do it.
just fin the way to browse this folder.
The wiki create a repository not visible in the repos list. you can browse it with this url:
https://dev.azure.com/MyOrganisation/MyProject/_git/MyProject.wiki
As of until today, one solution that worked for me is to clone the wiki repo to you local pc, let say Desktop and then, if you ever uploaded a file or image, you should have the .attachments folder, located in "your-cloned-repo/.attachments". Then you can delete or edit the file and push via git.
It my GitHub Pages page for my project, the only download options are for the .zip and the .tar.gz files (the standard ones including "See this on GitHub"). I want to have a link to download another file (a .exe file) without having to put it in my GitHub repository. How can I do this?
I'm not sure how GitHub Pages relates here (this likely depends on the theme you're using), but one good option for sharing pre-built versions of your software is to create a GitHub Release. This will prompt you to create a tag for the version of your source code you wish to release and let you upload additional files:
Optionally, to include binary files such as compiled programs in your release, drag and drop or select files manually in the binaries box.
This file won't be added to your Git repository. It's attached to the GitHub-specific Release, and it can then be downloaded from your repository's releases tab, just like source archives.
I use GitHub. I thought the files were stored on the website. so why do I have a GitHub folder on my desktop (it takes up a lot of bootdrive space)? The GitHub folder has subfolders with the names of my repositories
C:\Users\cches\Documents\GitHub
That is choice made by the tool you are using when working with GitHub: you are using GitHub Desktop.
And GitHub Desktop chooses to store its local cloned repos in %USERPROFILE%/Documents/GitHub (as shown in issue 1663)
You should be able to delete those stored repos, clone only the ones you need, and File | Add existing repository in Desktop, as in issue 2851.
I have multiple repositories under my account, and I placed a folder into the incorrect repo.
Is there a way use the GitHub web interface to move that folder from one repo to another?
From GitHub GUI alone, I don't think so.
You can delete files from the web GUI, but you still need to push your folder content from a local cloned repo (the right one this time)
Note: even if GitHub GUI referred to GitHub Desktop, you would still need to push.