Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 630 Bytes

Git_Create_New_Repository_Flow.md

File metadata and controls

33 lines (20 loc) · 630 Bytes

Github Flow For Pull Requests


  1. Create a directory and navigate to it.

  2. Initilize the repository.


git init

  1. Add code/files.

  2. Add the files using git add command.


git add .

  1. Commit the files.


git commit

  1. Navigate to github and create a new repo and dont initialze the readme file.

  2. Add the url of this repository as remote repository.


git remote add origin

  1. Push the code.


[git push -u origin master](images/git_push.png]