Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 

Repository files navigation

Git Assignment - bnusir
Question a. What is an issue?
It is a ticket like, it can be used to plan work or to track bug/problem

Question b. What is a pull request?
it combines two changes from different branches together

Question c. Describe the steps to open a pull request?
First: We Commit the changes
Second: We make sure that we are on the right branch (top left corner) ,
Third: We click on Pull requests & we Click on NEW PULL REQUEST
Fourth: We select the right Base
Fifth: We preview the pull requests,
Sixth: We Create a new pull request from our branch

Question d. Describe the steps to add a collaborator to a repository (share write permissions)
First I must have the username of the person I want to grant a write permission,
Then on the branch I click settings and
select from ACCESS : Colaborators
then I click ADD PEOPLE
After that I write the USERNAME I need to give access to, then I click ADD NAME to this repo.

Question e. What is the difference between git and GitHub?
git is a tool and use command line while github is a service and uses GUI

Question f. What does git diff do?
shows changes & differences between commit and working tree

Question g. What is the main branch?
it is the default branch

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors