NELSON WYLIE

Web Design & Development

Git Remote with Git Bash

19/06/2019

Git Remote with Git Bash Windows Command Line

Putting your existing work on GitHub can let you share and collaborate in lots of great ways.

  1. Create a new repository on GitHub. To avoid errors, do not initialize the new repository with README, license, or gitignore files. You can add these files after your project has been pushed to GitHub.
  2. Open Git Bash on Computer.
  3. Change the current working directory to your local project.
  4. Initialize the local directory as a Git repository.
  5. Add the files in your new local repository. This stages them for the first commit.
  6. Commit the files that you've staged in your local repository.
  7. At the top of your GitHub repository's Quick Setup page, click to copy the remote repository URL.
  8. In the Command prompt, add the URL for the remote repository where your local repository will be pushed.

https://bit.ly/2Z0KWWw

Quick Overview:

Set Url:

git remote set_url [origin]

git remote -v

git push -v [origin]

 

Remove Url:

git remote

git remote rm [origin]

git remote -v

Good design is about communication, building brand identity and integrity with the aim of providing the user with an engaging and rewarding experience
© Copyright 2018-2024 - Nelson Wylie - All Rights Reserved
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram