Be Awesome with Git 😎. This was presented during Weekly Meetup – Study Group & Research Group of Database Research Laboratory Telkom University in Bandung, April 2017. Download the interactive slides here.
BE AWESOMEWITH GIT
View Slide
HI, I'M AFNIZARA Designer. Previously, Limakilo, Astronaut and Fikri Studio
What Is Git?
History
InstallationInstall with git-scm https://git-scm.com/
Type Of Git User
Terminal For The King
GUI For The Weak
Initialize New Repository
1. Make the folder!
2. Open up terminal, and CD to the folder
3. Type git init
4. Add some files
5. and so on...
Some Term You Should Know
ForkingForking is to take the source code and develop anentirely new program
CloningClone a repository into a new directory
Let's Try!
1. Fork a repository
2. Clone the repository
After thatGit Workflow
Pull RequestsPull requests let you tell others about changesyou've pushed to a repository
1. Add a file on repository that we clone
2. Open up your terminal
3. Type git add .
4. Type git commit -m "Add something"
5. Type git push origin master
6. Do the pull request via Github
Commit Etiquette
GOOD COMMIT WILLSpeed up the reviewing process.Help write a good release note.Avoid confusion.Quality repository.
BranchBranch is essentially an independent line ofdevelopment.
THANK YOU