Skip to content

nt27web/is601TeamFall2020-Redo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Demo of Collaboration

Definitions

  1. Branching is the idea of creating a copy of the code and then adding new code for a task on a branch, and allows you to merge branches together. For example, I will create a new branch for my task and then I will create a pull request to have my branch mergeed to the master branch.

Steps to work with GIT

  1. Create a project on WebStorm
  2. Add Readme.md and .gitignore to the project files
  3. Go to VCS->Import to Version Control->Share on Github
  4. Share it and make the first initial commmit
  5. Your Partner needs to clone the repository
  6. You need to add your partners's githubID to the project on github. On Github go to settings and then manage access, where you will click add collaborators to add them to the project. You use their GithubID
  7. Once your partner clones the repository they need to create a branch, complete their task, and then push the branch to the repository. Note: If you get access denied then you have not been added as a collaborator to the repo.
  8. Once you push the code branch up to GitHub then create a pull request to have the code merged and someone needs to merge it.
  9. Once the code is merged then you need to pull the code by going to VCS->GIT->Pull in webstorm and remember to check the master branch for the pull
  10. Rinse and repeat steps 7, 8, 9 to do more tasks.

Note: If you put a bunch of code in a branch then you will cause problems. You need to keep your branches and commits organized because there will be merge conflicts, which means GIT can't figure out what code should be merged automatically and then you will be prompted to manually edit the files on GitHub or on WebStorm.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors