Git into existing folder

How to git into existing folder ?

Steps to connect existing git repository to local folder:

  1.  Create GIT repository on github, gitlab, bitbucket or any provider.
  2. Goto to your project files.
  3. Initialize the local directory as a Git repository.
  4. Add the files in your new local repository. This stages them for the first commit.
  5. Commit the files that you’ve staged in your local repository.
  6. Connect local folder to GIT  url.
  7. Once its connected, you can push your code
     

 

About the author

Yunus Shaikh

Yunus is Laravel / Angular developer. Specialized in Building REST APIs . Yunus care deeply about delivering Quality work. He also Have hands on Experience on WordPress, HTML, CSS, JavaScript technologies. Yunus love to explore emerging tech stuffs.

View all posts

Leave a Reply

Your email address will not be published.