Skip to content
 
 

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Github Branch Lab

Some Notes:

  • Steps 1 should only be done once by the project lead.
  • Steps 2-3 done once by all contributors/teammates.
  • Steps 4-10 done by all contributors/teammates.
  • Steps 11 should only be done by the project lead.
  • Steps 12 should be done by all contributors/teammates.

The leader of the group should do the following:

  1. Create a new repository in your organization.

  1. merge the changes

All memebrs should do the following:

  1. Fork
  2. Clone git clone FORKED_REPO_URL
  3. Add upstream as a remote repository
    • git remote -v
    • git remote add upstream Organization_URL (Organization_URL = The Organization repo link)
    • git remote -v you should see 2 origin and 2 upstream remotes
  4. Create and checkout to a new feature branch
    • git checkout -b Feature_Name
  5. Add html file that has <h1>Hello from YOUR_NAME</h1>
  6. Add your work to the staging area git add .
  7. Save the staged changes via commit git commit -m “”
  8. Push the new branch to origin git push -u origin Feature_Name
  9. Submit pull request

  1. Update the local master by pulling changes from Upstream master pull upstream master

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors