Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Development Tools GitHub Basics Working By Yourself Push to GitHub Test

Gonzalo Torres del Fierro
PLUS
Gonzalo Torres del Fierro
Courses Plus Student 16,750 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