100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4,6 TrustPilot
logo-home
Exam (elaborations)

WGU Version Control - D197 QUESTIONS AND ANSWERS | lATEST

Rating
-
Sold
-
Pages
3
Grade
A+
Uploaded on
07-08-2024
Written in
2024/2025

WGU Version Control - D197 QUESTIONS AND ANSWERS | lATEST

Institution
WGU D-197
Course
WGU D-197

Content preview

WGU Version Control - D197
QUESTIONS AND ANSWERS | lATEST
II II II II II II

$ git config --global user.name "Your Name"
II II II II II II II II II II II

Set the name that will be attached to your commits and tags.
II II II II II

$ git config --global user.email ""
II II II II II II II II II II II II

Set the e-mail address that will be attached to your commits and tags.
II II II II II

$ git config --global color.ui auto
II II II II II

Enable some colorization of Git output.
II II II II

$ git init [project name] II II II II II II II II II II II

Create a new local repository. If [project name] is provided, Git will
II II II II II II II II II II

create a new directory name [project name] and will initialize a II II II II II II II II II II II

repository inside it. If [project name] is not provided, then a new II II II II II II

repository is initialized in the current directory.
II II II II

$ git clone [project url] II II II II II II II II II II

Downloads a project with the entire history from the remote repository.
II II

$ git status II II II II II II II II II

Displays the status of your working directory. Options include new,
II II II II II II II II II II

staged, and modified files. It will retrieve branch name, current commit
II II II II

identifier, and changes pending commit.
II II II

$ git add [file]
II II II II II II II II II II II II II II II II II

Add a file to the staging area. Use in place of the full file path to add all
II II II II II II II II II II

changed files from the current directory down into the directory tree.
II II II

$ git diff [file]II II II II II II II

Show changes between working directory and staging area.
II II II II

$ git diff --staged [file] II II II II II II II II II

Shows any changes between the staging area and the repository.
II II II II

$ git checkout -- [file] II II II II II II II II

Discard changes in working directory. This operation is unrecovera-ble.
II II II

$ git reset [file] II II II II II II II II

Revert your repository to a previous known working state.
II II

$ git commit II II II II II II II II II II

Create a new commit from changes added to the staging area.
II II II II II

The commit must have a message!
II II II

$ git rm [file] II II II II II II II

Remove file from working directory and staging area.
II II

$ git stash
II II II II II II II II II II II

Put current changes in your working directory into stash for later use.
II II II

$ git stash pop II II II II II II II II II

Apply stored stash content into working directory, and clear stash.
II II II

$ git stash drop II II II II II II II II

Delete a specific stash from all your previous stashes.
II II II

$ git branch [-a]

Written for

Institution
WGU D-197
Course
WGU D-197

Document information

Uploaded on
August 7, 2024
Number of pages
3
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
STUVEX NURSING
View profile
Follow You need to be logged in order to follow users or courses
Sold
774
Member since
2 year
Number of followers
313
Documents
15561
Last sold
3 days ago
STUVATE - STUVIA USA

My store is a comprehensive destination for buying and selling a variety of documents. we offer a vast range of documents that cater to different needs and requirements, our documents are well-researched, accurate, and of high quality, ensuring customer satisfaction. whether you are looking for legal documents, academic papers, business reports or miscellaneous documents we`ve got you covered.

3.8

120 reviews

5
47
4
30
3
24
2
7
1
12

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions