How to upload code on Github | How to upload project on Github | How to upload files to Github from terminal | How to upload project on Github without command line | The ACX
How to upload code on Github:-
Step 1: Create a GitHub account
Step 2: Create a new repository
Step 3: Create a file
Step 4: Open project Folder and run the Command cmd.
Step 5:- Run the below Command:-
- git init (creates a new Git repository).
- git add .(adds a change in the working directory to the staging area.)
- git commit -m "first Commit"(is used to save your changes to the local repository.)
- git remote add origin https://github.com/<your_username>/Demo.git (use the git remote add command on the terminal, in the directory your repository is stored at. )
- git push -f origin master (is used to upload local repository content to a remote repository.)
If any problem then check my below video
Comments
Post a Comment