Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools GitHub Basics Working By Yourself Push to GitHub Test

Gonzalo Torres del Fierro
PLUS
Gonzalo Torres del Fierro
Courses Plus Student 16,751 Points

Type the command to view the status of new or changed files in your directory.

this are all the right answer to this challenge from 1 to 6 questions

(1/6) Type in the command to initialize a git repository.

answer: git init

(2/6) Type the command to view the status of new or changed files in your directory. answer: git status

(3/6)We have multiple files in our directory that we want to track. Add them all with one command.

answer: git add . ( give some space then put the dot)

(4/6) Commit the files we just added to the commit message "initial commit". answer: git commit -m "initial Commit"

(5/6)Type the command to link the GitHub repository at https://github.com/alysonla/portfolio.git to our local project. Use a remote name of "origin".

answer: git remote add origin https://github.com/alysonla/portfolio.git

(6/6)Push our local master branch up to the origin repository (GitHub).

answer: git push origin master

John Lack-Wilson
John Lack-Wilson
8,181 Points

I'm unsure what the question is here, are you asking if they are the correct answers, or are you stating that they are?

1 Answer

This code works. git remote add origin https://github.com/alysonla/portfolio.git