You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# If this commit is applied, it will... (Less than 50 chars)
# Why was this change made?
# How does it address the issue?
# Any references to tickets, articles, etc?
Replace Github address if using another server. i.e. 174.168.1.23:3000
Create a Repo on github with README.md
On github, create a new repository, and make sure to add README.md, can also add license and .gitignore though is not necessary.
Clone Locally
Once the repo is created on github, then clone locally, and you can proceed to work on the repo.
git clone https://github.com/user/repo.git
Working with Branches
If your project is small enough, chances are you are doing everything on the master branch. If you have a medium size project, or just working on a dev feature you can add a branch:
When working with forks create a new branch and do your work there, you have to ensure you are even with the upstream master, otherwise you can potentially work on something and run into merging issues later on.
Show remotes:
git remote
Output:
origin
upstream
If for whatever reason you don't have an upstream remote, is easy to add one: