Created
May 27, 2019 00:40
-
-
Save rodloboz/38eac956dca43ef771fd2e94d6caa85f to your computer and use it in GitHub Desktop.
Using Git to Collaborate as a Team
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# before starting a new feature, ensure you have an updated master | |
(master) git pull origin master | |
# create a feature branch | |
(master) git checkout -b my_new_feature | |
# commit in your feature as you complete milestones | |
(my_new_feature) git add . | |
(my_new_feature) git commit -m "adds some changes to my project" | |
# push your branch to Github once the feature is done | |
(my_new_feature) git status | |
(my_new_feature) git add . | |
(my_new_feature) git commit -m "my feature is completed" | |
(my_new_feature) git push origin my_new_feature | |
# Visit Github to open a Pull Request | |
# Have another team member review your PR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment