Uploading your project
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- git, github, vscode
- Ambito
- documentation
Direzione di ricerca
Il corpo della issue contiene l’attività completa “Uploading your project”, ma non indica alcun file del repository né alcun test. Inizia individuando dove è archiviata questa attività, quindi confronta le istruzioni pubblicate con il workflow GitHub previsto e verifica che il passaggio di completamento documentato funzioni ancora.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Step 3: Make the move
Having a project already stored locally enables you to move it to GitHub rather quickly. The following activity provides instructions to move your local project to GitHub using various tools. Select the tool you are most comfortable with and get importing 😄.
⌨️ Activity: Moving your local project
- In the Code tab of this repository, copy the URL shown under Quick Setup.
- Follow the instructions below based on what tool you'd like to use locally.
Using the command line
Using the command line
- In your command line, navigate to your project directory. Type
git initto initialize the directory as a Git repository. - Type
git remote add origin https://github.com/Ayushparikh-code/github-upload.git - Type
git add . - Type
git commit -m "initializing repository" - Type
git push -u origin mainto push the files you have locally to the remote on GitHub. (You may be asked to log in.)
Note: You can also use a password protected SSH key to connect to GitHub. See Connecting to GitHub with SSH in our documentation to learn more.
Using GitHub Desktop
Using GitHub Desktop
GitHub Desktop doesn't allow you to add a new remote for an existing directory, so instead we'll copy the contents of your existing folder to our repo. If you'd like to keep your existing folder, you may want to use the command line or one of the other tools.
- In GitHub Desktop, click on File and Clone a repository.
- Click on the URL tab.
- Paste the URL from this repository.
- Move the contents of your local repository to this directory.
- Create a commit by entering a commit message and then clicking on Commit to main
- Click Publish branch in the top right corner to push your repository to GitHub.
Using Visual Studio Code
Using Visual Studio Code
- In Visual Studio Code, open the folder for your project.
- Click the icon on the left for Source Control.
- On the top of the Source Control panel, click the Git icon.
- If the files you see match the repository you want to create, click Initialize Repository.
- Next to the word CHANGES, click the symbol of the plus sign to stage all of the changes.
- This is part of the two stage commit. You can use this staging function to create meaningful commits throughout the development process.
- In the box in the Source Control panel, type a commit message. Something like "initial commit - moving project" could work.
- Click the checkmark at the top of the Source Control panel.
- Open the integrated terminal found under View > Integrated Terminal.
- In your command line, type
git remote add origin https://github.com/Ayushparikh-code/github-upload - In the Source Control Panel, click the expandable three dots that open a menu of options.
- When asked if you'd like to publish the branch, click Okay.
Using Atom
Using Atom
- In Atom, open the folder for your project
- At the top of your screen, click Packages. Select GitHub, and then toggle the Git Tab from the drop-down menu.
- Select Create Repository within the Git tab on the right-hand size of your screen.
- Select Init to accept the default prompt of the pop up window
- In the Git tab, you can see that your files are ready for staging. It should be accounted for, but double check to make sure that none of your binaries or files that you listed in the .gitignore are listed in this dialog menu.
- If they are, double check your .gitignore file to make sure they're included or remove them from your directory. - Select Stage All
- This is part of the two stage commit. You can use this staging function to create meaningful commits throughout the development process. - In the box at the bottom of the Git panel, type a commit message. Something like "initial commit - moving project" could work.
- Select Commit
- Close Atom
- In your command line, navigate to your project directory.
- Type
git remote add origin https://github.com/Ayushparikh-code/github-upload - Return to Atom, and select the Up/Down arrow icon at the bottom of your Git Tab
- Click Push, above the noted dialog.
- Return to your repository, and note a successful push by finding your files on GitHub's code tab.
Using Eclipse
Using Eclipse
- In Eclipse, from the Eclipse Marketplace, install the eGit GitHub plugin.
- Open your existing project.
- Display the Git Repositories window by selecting Window > Show View > Other > Git > Git Repositories.
- Click the Create a Git Repository button on the Git Repositories pane.
- Make changes to your project and create a commit.
- Push the changes to your default branch.
- When asked for a remote, paste the URL you copied earlier.
- Click next, and enter the branch name.
Watch below for my response
🤖 Once you push your project to GitHub, I'll provide the next steps in your journey.
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 1
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Issue simili
-
sync-en
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
agilepathway/label-checker#640 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
BasedHardware/omi#15662 · 1 commento ·
-
documentation help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100