Git-steps
Git-steps copied to clipboard
The series of steps you can use to commit a document in your GitHub from your local device, remotely.
Git-steps
The series of steps you can use to commit a document in your GitHub from your local device, remotely.
--------------- STEPS TO MAKE A REMOTE GITHUB REPOSITORY-----------------
--------------- MADE BY MAINAK CHAUDHURI ---------------
-
Create a git repository
-
Press on "Download code" and copy the [email protected]:"Repository path in github"
-
Make a folder in local device with same name as the github repo name
-
Open GitBash inside the repository file in local system
-
Type these commands :
i. git config --global user.name "Your User Account name"
ii. git config --global user.email your email //(without inverted commas)
iii. git clone [email protected]:AccountName/Reponame
iv. cd Repository/
v. ls
vi. git add filename.extension
vii. git status
viii.git commit -m "any comment" filename.extension
ix. git remote add origin https://<PERSONALACCESSTOKEN>@github.com/<USERNAME>/<REPO>.git
x. git push -u origin master
- For modification :
i. git status
ii. git commit -m "any comment" filename.extension
iii.git push -u origin master.
- Finally :
| | | CHECK YOUR GITHUB AND REFRESH THE PAGE | | | | |
THANK YOU 🙏🙏🙏
Made by Mainak