Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

Git Assignment - fbastos231

a. What is an issue?

Issue is an item such as a task, a bug or a new feature that could be important to a software project to track using the issues tool in github.

b. What is a pull request?

Pull requests are used to propose merging a change, or a set of changes, from one branch of a repository into another.

c. Describe the steps to open a pull request?

  1. In the main page of the repo navegate to "Pull requests" tab
  2. If changes were already made within the desired branch click on the "Compare & pull request"
  3. Add title and description for pull request
  4. Click "Create pull request"

d. Describe the steps to add a collaborator to a repository (share write permissions)

  1. In the main page of the repo navegate to "Settings" tab
  2. On the left hand side under "Access" click "Collaborators"
  3. Under "Manage access" click "Add people"
  4. Search by username, full name or email
  5. Click "Add 'user name' to this repository"

e. What is the difference between git and GitHub?

Git is an open source distributed version control system that enables tracking of modifications of files. It is widely used by the software development community. GitHub is an online platform that hosts Git repositories and provides a wide variety of features built upon Git such as project management and continous integration tools.

f. What does git diff do?

git diff is a git command that shows a quick preview of changes made within a branch since the last commit.

g. What is the main branch?

The main branch is the original branch created when a repository is created. Best practice is the have the main branch contain all the latest/desired changes for "production".

h. Besides our initial commit if it is a new repository, should we directly push our changes directly into the main branch?

I believe best practice is to create different branches to work on new changes. Therefore, no changes should not be pushed directly into the main branch.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors