ch 27 linux+ controlling versions with git

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Natasha has completed her open-source project, which is set to be released to the public today. She has moved the files to the staging area, committed her work to the local repository, and configured the remote repository's address. What is her next step?

Push her project to the remote repository.

When setting his Git configuration options, Bruce employs the --global option on his commands. What does this mean?

The configuration information is stored in ∼/.gitconfig.

Which of the following commands allows you to switch to a new Git branch called testing?

git checkout testing

The git commit -m "testing" command

performs a commit to the local repository and adds a comment of testing to the log file.

The git branch command

shows you the current branches within this project and designates which one is current via an asterisk

The git checkout master command

was already used by Tony to reach the master branch.

The git merge master command

will attempt to merge the master branch into another branch, but since Tony is already in the master branch

The rebase arguments

will attempt to perform a rebase instead of a merge.

The git merge report command

will merge the report branch into the master branch as desired

the following are steps needed to set up a Git environment for the first time:

-Create a working directory. -Initialize the .git/ directory in the working directory. -Set up the local repository options. -Establish the remote repository.

The following are true statements concerning version control:

-Provides a common place to merge and store files -May be distributed or non-distributed -Helps to protect files from being overwritten -Can deal with files other than programs

Conceptually Git is broken up into distinct areas. Which of the following are one of those areas?

-Remote repository -Local repository -Working directory -Index

Bruce has set up his Git environment and finished working on his new GreenMass.sh script. What should he do next?

Add the script to the staging area.


Kaugnay na mga set ng pag-aaral

Neurobiology Test #3 Study Guide Teacher's Version

View Set

Abeka 5th Grade History Quiz 13 (pages 105-115; Geography Facts 8)

View Set

IBM 3012 - Chapter Two Quiz Review

View Set

Practice Exam Chemistry and Physics

View Set