Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Upload Project To Github Repo

Go into the project you want to upload then enter the commands below one by one
Make sure not to forget the .git at the end
You need to create a personal access token via your github profile
git add . can take a while to load depending on what you are uploading: this is normal


git init
git add .
git commit -m "first commit"
git remote add origin  https://github.com/<your-github-user-name>/<your-project-name>.git
git push -f https://<your-personal-access-token>@github.com>//<your-github-user-name>/<your-project-name>.git
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #Upload #Project #To #Github #Repo
ADD COMMENT
Topic
Name
1+8 =