Feat: Introductory git commands
This commit is contained in:
parent
4298096d45
commit
001c985e81
1 changed files with 25 additions and 1 deletions
|
@ -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>````
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue