The Savior of Programming World, Git

“the stupid content tracker” — Linus Torvalds, creator of Git

Photo by Yancy Min on Unsplash

Version Control System

Git

Setup your Git Project

git init
git clone <link of the repository>

Branching

Branching Example | pengenalan git dan github (yogiex.github.io)
git checkout -b <branch name>
git stash
git stash pop

Commit your code version

git add <file name> #use . for all modified files
git commit -m “<your commit messsage>”
git revert HEAD

Merging with other branch

Photo by Lance Grandahl on Unsplash
git push origin <branch name>
git pull origin <branch name>
git merge <target branch name>
git rebase <from branch name>

GitFlow

Our GitFlow implementation

Computer Science Student of Universitas Indonesia