Feat: Introductory git commands

This commit is contained in:
Prabuddha Hans 2024-09-25 15:22:17 +01:00
parent 4298096d45
commit 001c985e81

View file

@ -191,4 +191,28 @@ Don't do this
Please do this Please do this
````git pull <remote_name> <branch_name>```` ````git pull <remote_name> <branch_name>````
------------------------------------------------------------------------- -------------------------------------------------------------------------
````git init````
-------------------------------------------------------------------------
````git remote add origin <repo_url>````
-------------------------------------------------------------------------
````git add <file_name>````
-------------------------------------------------------------------------
````git commit -m <Commit message>````
-------------------------------------------------------------------------
````git pull origin <branch_name>````
-------------------------------------------------------------------------
````git push origin <branch_name>````
-------------------------------------------------------------------------