Feat: Introductory git commands
This commit is contained in:
parent
9fb641c1e0
commit
f4741c8889
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