Git With The Flow (Project Management)
Git With The Flow (Project Management)
Here’s how to use git with project management from zero to hero.
https://bit.ly/gitwiththeflow
$ hansel@pearlhacks: /whoami
[email protected]
Linkedin.com/hanselwei
GitHub.com/darkmastermindz
Twitter.com/darkmastermindz
https://bit.ly/gitwiththeflow
What is git?
How do I git flow with my project?
Workflow 4.
○ $ git add goodbye.py
$ git commit -m “code change comment
here”
5. $ git push origin master
○ Upload to online repository
6. Do a pull request on Github or
Azure DevOps
● One person manages the
Master Branch
● Pull before pushing
● Make a feature branch from
GitFlow 101 develop
● When you finish the feature,
Rules make a pull request.
● To see the commit_ids and see
changes
○ $git log
■ $git log --follow [file]
■ $git diff
● Oops, I accidently staged (add) changes
on the wrong branch
Dangerous, but
○ $git stash
○ $git checkout [branch-name]
○ $git stash pop
Useful ●
○ $git stash drop
Oops, I accidently staged (commit)
changes on the wrong branch
Applications ● SourceTree
● Setting up with IDE’s such as
XCode, Atom, VS Studio,
Netbeans, Eclipse… etc.
Workshop Recap: Creating a Repo
Workshop Recap:
Creating a Repo for a Team on Github
Check Initialize README & Invite your team. Invitations are emailed.
select a .gitignore and license.
Workshop Recap:
Creating a Repo for a Team on Github