Skip to content Skip to sidebar Skip to footer

How to Upload Data to Github Usercontent

Download Article

Download Article

GitHub'southward personal repositories are essentially storage spaces for project files. Y'all can import a repository on GitHub by using an onetime project URL and the GitHub Importer; you can also employ the command line to import old repositories.

  1. 1

    Open up your GitHub project page. To use the Importer, y'all'll beginning need the URL of your desired repository.

  2. two

    Click the "+" button. This should exist in the upper right-hand or left-hand corner of your screen; clicking information technology volition prompt a drop-down card.

    Advertisement

  3. three

    Click the "Import Repository" option. This will accept you to the import menu.

  4. 4

    Enter your repository's URL. You'll demand to practice this in the field under the "Your one-time repository's clone URL" heading.[1]

  5. 5

    Fix your repository'south tags. These include the user business relationship with which the repository is associated and a name for the repository.

  6. half-dozen

    Click "Public" or "Individual" to categorize your repository. Public repositories are available to the entire GitHub community, whereas Individual repositories are restricted to you lot and any collaborators with whom y'all choose to share.

  7. 7

    Click "Begin Import". This should be in the lower correct-manus corner of the Import carte.

    • You may take to enter the account credentials associated with your repository if it's being imported from an account with countersign-protected attributes.
    • In the event that you accept multiple projects saved at the target URL, click your desired file name to import that repository.
  8. viii

    Choose "Include large files" if necessary. If you are importing numerous files, you tin cull to include or exclude large files from within the repository. Click "Continue" to finalize this process.

    • Importing large files can cost extra, so review your payment plan if you're uncertain about the implications of importing large files.
  9. 9

    Await for your import to finish. GitHub will send you an email at your registered address when the process is complete.

    Advert

  1. 1

    Open your GitHub project page. If you lot want to import an one-time repository from a private network, you'll want to use a control line to do so.

    • Y'all'll need to have your old repository'southward URL and your GitHub username available before continuing.
  2. ii

    Create a new GitHub repository. Y'all can do this from inside the "+" menu in the upper correct- or left-paw corner of your project window.

  3. 3

    Open the "Git Shell" awarding. This will let y'all to type commands into GitHub in order to perform sure deportment; to use Git Shell, you will need to have GitHub installed on your reckoner.

  4. 4

    Enter the command to clone your repository. The control should say "git clone --blank [external Git URL][external user account]/[target repository proper name].git", excluding the quotation marks and brackets. Fill in the bracketed information with your own pertinent information.[ii]

  5. 5

    Push the repository to GitHub. This command should say "cd *[repository proper noun].git*", followed by "git push --mirror https://github.com/[GitHub user account]/[target repository name].git" on a split up line. Exclude the quotation marks and brackets, and fill in the bracketed information with your ain pertinent information.

  6. 6

    Remove your local repository's temporary files. This command should say "cd ..", followed by "rm -rf [target repository name].git" on a divide line. Exclude the quotation marks and brackets, and fill in the bracketed information with your own pertinent data.

  7. 7

    Review your local repository. If your sometime repository'south files are now in your new repository, your import was successful!

    Advertisement

  1. ane

    Open up your GitHub project folio. If you're importing using the command line or you're simply trying to start a projection from scratch, y'all'll demand to start a new repository.

  2. 2

    Click the "+" push button. This should be in the upper right-hand or left-hand corner of your screen; clicking information technology will prompt a drop-down menu.

  3. 3

    Click "New Repository". This will have you to the repository options.[iii]

  4. 4

    Click the account drop-down carte. This is in the summit left corner of the repository options carte du jour; you'll need to select the account on which you lot wish to save the repository.

  5. 5

    Blazon in a name and description for your repository. The name will assistance differentiate the repository from others like it, and the description will help other users decide whether or non the repository is relevant to them.

  6. 6

    Click "Public" or "Private" to categorize your repository. Public repositories are available to the unabridged GitHub customs, whereas Private repositories are restricted to you and any collaborators with whom you choose to share.

  7. 7

    Add optional items to your repository if you wish. Commencement-upward options include the following:

    • A README file, which describes the contents and purpose of the repository.
    • A .gitignore file, which tells the repository which files to ignore when uploading the repository'southward contents to GitHub.[4]
    • A software license, which will allow others to freely utilize and do good from your repository'southward contents.[v]
  8. viii

    Click "Create Repository". This is at the lesser of the repository options menu.

  9. 9

    Click "Ready in Desktop". This will set up your repository for you in the desktop location of your choosing. Y'all have successfully created a repository![half-dozen]

    Advertisement

Inquire a Question

200 characters left

Include your e-mail address to become a message when this question is answered.

Submit

Advert

  • Repositories are the equivalent of a folder on your computer.

Thanks for submitting a tip for review!

Advertisement

  • Be sure to salvage your work ofttimes to avoid losing progress.

Advertizement

About This Commodity

Cheers to all authors for creating a page that has been read 44,684 times.

Is this commodity up to engagement?

taggartacte1998.blogspot.com

Source: https://www.wikihow.com/Import-a-Repository-on-Github

Post a Comment for "How to Upload Data to Github Usercontent"